From f58fefe5e2a33e18ee471a44ecb249acbbcb8074 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Sat, 14 Sep 2013 17:51:49 +0200 Subject: [PATCH] Check all installed apps for console commands --- console.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console.php b/console.php index 30f4b72921..b8dd5e0879 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;