Skip to content

Commit

Permalink
Merge pull request #7560 from nextcloud/fix_7309
Browse files Browse the repository at this point in the history
Use injected AppManager
  • Loading branch information
rullzer authored Dec 18, 2017
2 parents 4ed12ff + d6e74fe commit 60297ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Command/Maintenance/Repair.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected function execute(InputInterface $input, OutputInterface $output) {

$apps = $this->appManager->getInstalledApps();
foreach ($apps as $app) {
if (!$appManager->isEnabledForUser($app)) {
if (!$this->appManager->isEnabledForUser($app)) {
continue;
}
$info = \OC_App::getAppInfo($app);
Expand Down

0 comments on commit 60297ed

Please sign in to comment.