diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-10-31 18:42:19 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-10-31 18:42:19 +0100 |
commit | 086d43f26d047f7078762585ce95c75ad155a6ba (patch) | |
tree | 6050de3aeb95b780109318c82d260ea1e07d596b /lib/private/Installer.php | |
parent | d805df7bb3275b33b53c4591499be0cf68f0a38a (diff) | |
download | nextcloud-server-086d43f26d047f7078762585ce95c75ad155a6ba.tar.gz nextcloud-server-086d43f26d047f7078762585ce95c75ad155a6ba.zip |
Move to non-static version
The static version is used nowhere in the code and just decreases coverage
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/Installer.php')
-rw-r--r-- | lib/private/Installer.php | 3 |
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); |