diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-28 15:15:34 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-05-02 08:52:06 +0200 |
commit | e049953d1af24feeb57796ac4025f0f607ac1cdf (patch) | |
tree | 7b599af5deab65048396c6b17ed8f24b10f43f86 /lib/private/Updater.php | |
parent | 54f45f95f51dc14d6a7126170b3277a3ad57b608 (diff) | |
download | nextcloud-server-e049953d1af24feeb57796ac4025f0f607ac1cdf.tar.gz nextcloud-server-e049953d1af24feeb57796ac4025f0f607ac1cdf.zip |
OC_Installer -> \OC\Installer
Diffstat (limited to 'lib/private/Updater.php')
-rw-r--r-- | lib/private/Updater.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/private/Updater.php b/lib/private/Updater.php index 093ebebbbe4..7ca3cd09362 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -36,7 +36,6 @@ namespace OC; use OC\Hooks\BasicEmitter; use OC\IntegrityCheck\Checker; use OC_App; -use OC_Installer; use OCP\IConfig; use OC\Setup; use OCP\ILogger; @@ -251,7 +250,7 @@ class Updater extends BasicEmitter { // install new shipped apps on upgrade OC_App::loadApps('authentication'); - $errors = OC_Installer::installShippedApps(true); + $errors = Installer::installShippedApps(true); foreach ($errors as $appId => $exception) { /** @var \Exception $exception */ $this->log->logException($exception, ['app' => $appId]); @@ -443,11 +442,11 @@ class Updater extends BasicEmitter { private function upgradeAppStoreApps(array $disabledApps) { foreach($disabledApps as $app) { try { - if (OC_Installer::isUpdateAvailable($app)) { + if (Installer::isUpdateAvailable($app)) { $ocsId = \OC::$server->getConfig()->getAppValue($app, 'ocsid', ''); $this->emit('\OC\Updater', 'upgradeAppStoreApp', array($app)); - OC_Installer::updateAppByOCSId($ocsId); + Installer::updateAppByOCSId($ocsId); } } catch (\Exception $ex) { $this->log->logException($ex, ['app' => 'core']); |