diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-18 22:26:44 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-18 22:26:44 +0300 |
commit | d6e74fe375734c06d9b9ed11a32f94b255e54a7e (patch) | |
tree | 1d8471682b68010ab643c68e24fc1cac370d08c0 | |
parent | cb5433062fab266c595f7ebd96a7f3f14e56034d (diff) |
Use injected AppManager
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r-- | core/Command/Maintenance/Repair.php | 2 |
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); |