summaryrefslogtreecommitdiffstats
path: root/lib/private/app.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-02-05 15:11:07 +0100
committerRobin Appelman <icewind@owncloud.com>2015-02-17 15:05:29 +0100
commit04628cf368983a87f9466e02aa569e4ff646880b (patch)
treecb9d80854ad3b35642a83d846c288ff36048c681 /lib/private/app.php
parent434835b326bddcd2e53a9ee46734e4f358a9d1f1 (diff)
downloadnextcloud-server-04628cf368983a87f9466e02aa569e4ff646880b.tar.gz
nextcloud-server-04628cf368983a87f9466e02aa569e4ff646880b.zip
better name for getAppsEnabledForUser
Diffstat (limited to 'lib/private/app.php')
-rw-r--r--lib/private/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index c767ddaec99..2e640aa2a40 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -220,7 +220,7 @@ class OC_App {
if (is_null($user)) {
$apps = $appManager->getInstalledApps();
} else {
- $apps = $appManager->getAppsEnabledForUser($user);
+ $apps = $appManager->getEnabledAppsForUser($user);
}
$apps = array_filter($apps, function ($app) {
return $app !== 'files';//we add this manually