summaryrefslogtreecommitdiffstats
path: root/lib/private/Installer.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Installer.php')
-rw-r--r--lib/private/Installer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php
index 67c949bc135..120992d3e63 100644
--- a/lib/private/Installer.php
+++ b/lib/private/Installer.php
@@ -46,6 +46,7 @@ use OC\App\CodeChecker\CodeChecker;
use OC\App\CodeChecker\EmptyCheck;
use OC\App\CodeChecker\PrivateCheck;
use OC\Archive\Archive;
+use OC\Archive\TAR;
use OC_App;
use OC_DB;
use OC_Helper;
@@ -254,7 +255,7 @@ class Installer {
if($verified === true) {
// Seems to match, let's proceed
$extractDir = $this->tempManager->getTemporaryFolder();
- $archive = Archive::open($tempFile);
+ $archive = new TAR($tempFile);
if($archive) {
$archive->extract($extractDir);