diff options
Diffstat (limited to 'core/Command/App')
-rw-r--r-- | core/Command/App/Disable.php | 1 | ||||
-rw-r--r-- | core/Command/App/ListApps.php | 1 | ||||
-rw-r--r-- | core/Command/App/Update.php | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/core/Command/App/Disable.php b/core/Command/App/Disable.php index a0a20ef21dd..121ad3f010c 100644 --- a/core/Command/App/Disable.php +++ b/core/Command/App/Disable.php @@ -1,4 +1,5 @@ <?php + /** * SPDX-FileCopyrightText: 2016 ownCloud, Inc. * SPDX-License-Identifier: AGPL-3.0-only diff --git a/core/Command/App/ListApps.php b/core/Command/App/ListApps.php index bb59e441119..dc947bea55f 100644 --- a/core/Command/App/ListApps.php +++ b/core/Command/App/ListApps.php @@ -1,4 +1,5 @@ <?php + /** * SPDX-FileCopyrightText: 2016 ownCloud, Inc. * SPDX-License-Identifier: AGPL-3.0-only diff --git a/core/Command/App/Update.php b/core/Command/App/Update.php index b2d02e222de..71c7f84e5b0 100644 --- a/core/Command/App/Update.php +++ b/core/Command/App/Update.php @@ -9,6 +9,7 @@ declare(strict_types=1); namespace OC\Core\Command\App; use OC\Installer; +use OCP\App\AppPathNotFoundException; use OCP\App\IAppManager; use Psr\Log\LoggerInterface; use Symfony\Component\Console\Command\Command; @@ -64,7 +65,7 @@ class Update extends Command { $apps = [$singleAppId]; try { $this->manager->getAppPath($singleAppId); - } catch (\OCP\App\AppPathNotFoundException $e) { + } catch (AppPathNotFoundException $e) { $output->writeln($singleAppId . ' not installed'); return 1; } |