summaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-12-18 21:26:22 +0100
committerGitHub <noreply@github.com>2017-12-18 21:26:22 +0100
commit60297ed7e0ef5266e766b54c2dbde1e494b27141 (patch)
tree9f0b826f51894ac0adcd6a58df5bf3a9de7be1c4 /core/Command
parent4ed12ff9c81fb5eda01b520d33c22a0d9bbc5822 (diff)
parentd6e74fe375734c06d9b9ed11a32f94b255e54a7e (diff)
downloadnextcloud-server-60297ed7e0ef5266e766b54c2dbde1e494b27141.tar.gz
nextcloud-server-60297ed7e0ef5266e766b54c2dbde1e494b27141.zip
Merge pull request #7560 from nextcloud/fix_7309
Use injected AppManager
Diffstat (limited to 'core/Command')
-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);