diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-05-27 15:20:33 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-05-27 15:20:33 +0200 |
commit | 02f682b156998a3f3f94fd506867c28eba878da9 (patch) | |
tree | ea401db4b0d3f1708452f74b3636ba735b192765 /lib/private/updater.php | |
parent | 146583a98d632fceaff1642cd9bc3b566c51615a (diff) | |
download | nextcloud-server-02f682b156998a3f3f94fd506867c28eba878da9.tar.gz nextcloud-server-02f682b156998a3f3f94fd506867c28eba878da9.zip |
Now showing disabled apps as upgrade status line
- Added app id in update overview.
- Added status message for disabled app for CLI upgrade and web upgrade
Diffstat (limited to 'lib/private/updater.php')
-rw-r--r-- | lib/private/updater.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/updater.php b/lib/private/updater.php index d8694ac6ed5..58d3cab73aa 100644 --- a/lib/private/updater.php +++ b/lib/private/updater.php @@ -134,7 +134,10 @@ class Updater extends BasicEmitter { $this->emit('\OC\Updater', 'failure', array($exception->getMessage())); } \OC_Config::setValue('version', implode('.', \OC_Util::getVersion())); - \OC_App::checkAppsRequirements(); + $disabledApps = \OC_App::checkAppsRequirements(); + if (!empty($disabledApps)) { + $this->emit('\OC\Updater', 'disabledApps', array($disabledApps)); + } // load all apps to also upgrade enabled apps \OC_App::loadApps(); |