summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClark Tomlinson <fallen013@gmail.com>2014-08-11 16:16:18 -0400
committerClark Tomlinson <fallen013@gmail.com>2014-08-11 16:16:18 -0400
commite63853a353221242aa8ae4683b845a1ec786299a (patch)
tree52e2d9a61ae996d6de3e964025fadf420ba6f90f
parent3e493501daad6baaa590d84fbccfeec8d1c86ae2 (diff)
parenta32eac14774bde04d0a9a1ad516423e229f4b80c (diff)
downloadnextcloud-server-e63853a353221242aa8ae4683b845a1ec786299a.tar.gz
nextcloud-server-e63853a353221242aa8ae4683b845a1ec786299a.zip
Merge pull request #10335 from owncloud/fix-emptyapplist
Fix issue when no apps are enabled
-rw-r--r--lib/private/app.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index 7bf04f11267..e4b11f982dc 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -172,6 +172,7 @@ class OC_App {
if (!$forceRefresh && !empty(self::$enabledAppsCache)) {
return self::$enabledAppsCache;
}
+ $apps = array();
$appConfig = \OC::$server->getAppConfig();
$appStatus = $appConfig->getValues(false, 'enabled');
$user = \OC_User::getUser();