diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-10-27 20:18:54 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-10-31 17:17:45 +0100 |
commit | ca7f6dec556c93f2d68ed02d40a64059327a9fef (patch) | |
tree | 2245708b0e12817135b1a472840d97796a6ac5d8 /lib/private/Installer.php | |
parent | 8d83e239f321ef63e08c2c1a6658449c7376c46f (diff) | |
download | nextcloud-server-ca7f6dec556c93f2d68ed02d40a64059327a9fef.tar.gz nextcloud-server-ca7f6dec556c93f2d68ed02d40a64059327a9fef.zip |
Make non-static
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/Installer.php')
-rw-r--r-- | lib/private/Installer.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php index 02dbd670a0a..ab97859d62a 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -543,7 +543,7 @@ class Installer { /** * Removes an app - * @param string $name name of the application to remove + * @param string $appId ID of the application to remove * @return boolean * * @@ -555,8 +555,9 @@ class Installer { * this has to be done by the function oc_app_uninstall(). */ public static function removeApp($appId) { + $installer = new Installer(); - if(Installer::isDownloaded( $appId )) { + if($installer->isDownloaded( $appId )) { $appDir=OC_App::getInstallPath() . '/' . $appId; OC_Helper::rmdirr($appDir); |