Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-09-14 19:51:49 +0400
committerBart Visscher <bartv@thisnet.nl>2013-09-14 19:51:49 +0400
commitf58fefe5e2a33e18ee471a44ecb249acbbcb8074 (patch)
treecd9270df6f1a424d3fcea7aa951f3a77355c9707 /console.php
parent666bbbe06085451c12e4e55b886703e823eabf07 (diff)
Check all installed apps for console commands
Diffstat (limited to 'console.php')
-rw-r--r--console.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.php b/console.php
index 30f4b729214..b8dd5e08790 100644
--- a/console.php
+++ b/console.php
@@ -26,7 +26,7 @@ if (!OC::$CLI) {
$defaults = new OC_Defaults;
$application = new Application($defaults->getName(), \OC_Util::getVersionString());
require_once 'core/register_command.php';
-foreach(OC_App::getEnabledApps() as $app) {
+foreach(OC_App::getAllApps() as $app) {
$file = OC_App::getAppPath($app).'/appinfo/register_command.php';
if(file_exists($file)) {
require $file;