Use injected AppManager
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
cb5433062f
commit
d6e74fe375
|
@ -86,7 +86,7 @@ class Repair extends Command {
|
||||||
|
|
||||||
$apps = $this->appManager->getInstalledApps();
|
$apps = $this->appManager->getInstalledApps();
|
||||||
foreach ($apps as $app) {
|
foreach ($apps as $app) {
|
||||||
if (!$appManager->isEnabledForUser($app)) {
|
if (!$this->appManager->isEnabledForUser($app)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$info = \OC_App::getAppInfo($app);
|
$info = \OC_App::getAppInfo($app);
|
||||||
|
|
Loading…
Reference in New Issue