diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-05-18 16:16:04 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-05-18 16:16:04 +0200 |
commit | c28cd0377001ffd4b53ca03c6601931b0873e030 (patch) | |
tree | 1737f44f60f497a4f8edf36c9441188aa5a1a108 /lib | |
parent | a1e60e78823d0f00681db0a6dc62a5a157b302f4 (diff) | |
parent | ad3a32edf621d26711086ff914566f55ec74a889 (diff) | |
download | nextcloud-server-c28cd0377001ffd4b53ca03c6601931b0873e030.tar.gz nextcloud-server-c28cd0377001ffd4b53ca03c6601931b0873e030.zip |
Merge pull request #16403 from owncloud/fix-command-loading
Only load commands of enabled apps
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/console/application.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/console/application.php b/lib/private/console/application.php index 6d24665e012..f2aacbfc0e6 100644 --- a/lib/private/console/application.php +++ b/lib/private/console/application.php @@ -35,7 +35,7 @@ class Application { if ($this->config->getSystemValue('installed', false)) { if (!\OCP\Util::needUpgrade()) { OC_App::loadApps(); - foreach (OC_App::getAllApps() as $app) { + foreach (\OC::$server->getAppManager()->getInstalledApps() as $app) { $file = OC_App::getAppPath($app) . '/appinfo/register_command.php'; if (file_exists($file)) { require $file; |