Skip to content

Commit da5f30c

Browse files
committed
fixup! fix: make core application bootstrapable by coordinator
1 parent 019888c commit da5f30c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/Application.php renamed to core/AppInfo/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
66
* SPDX-License-Identifier: AGPL-3.0-only
77
*/
8-
namespace OC\Core;
8+
namespace OC\Core\AppInfo;
99

1010
use OC\Authentication\Events\RemoteWipeFinished;
1111
use OC\Authentication\Events\RemoteWipeStarted;

lib/private/AppFramework/Bootstrap/Coordinator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace OC\AppFramework\Bootstrap;
1111

12-
use OC\Core\Application;
12+
use OC\Core\AppInfo\Application as CoreApplication;
1313
use OC\Support\CrashReport\Registry;
1414
use OC_App;
1515
use OCP\App\AppPathNotFoundException;
@@ -83,7 +83,7 @@ private function registerApps(array $appIds): void {
8383
* the \OCP\AppFramework\Bootstrap\IBootstrap interface
8484
*/
8585
if ($appId === 'core') {
86-
$applicationClassName = Application::class;
86+
$applicationClassName = CoreApplication::class;
8787
} else {
8888
$appNameSpace = App::buildAppNamespace($appId);
8989
$applicationClassName = $appNameSpace . '\\AppInfo\\Application';

0 commit comments

Comments
 (0)