summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-12-18 20:26:44 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-12-18 20:26:44 +0100
commitd6e74fe375734c06d9b9ed11a32f94b255e54a7e (patch)
tree1d8471682b68010ab643c68e24fc1cac370d08c0 /core
parentcb5433062fab266c595f7ebd96a7f3f14e56034d (diff)
downloadnextcloud-server-d6e74fe375734c06d9b9ed11a32f94b255e54a7e.tar.gz
nextcloud-server-d6e74fe375734c06d9b9ed11a32f94b255e54a7e.zip
Use injected AppManager
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core')
-rw-r--r--core/Command/Maintenance/Repair.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Maintenance/Repair.php b/core/Command/Maintenance/Repair.php
index 9401dafd26b..71d13cd29f3 100644
--- a/core/Command/Maintenance/Repair.php
+++ b/core/Command/Maintenance/Repair.php
@@ -86,7 +86,7 @@ class Repair extends Command {
$apps = $this->appManager->getInstalledApps();
foreach ($apps as $app) {
- if (!$appManager->isEnabledForUser($app)) {
+ if (!$this->appManager->isEnabledForUser($app)) {
continue;
}
$info = \OC_App::getAppInfo($app);