Skip to content

Commit b119f15

Browse files
committed
chore(files): Remove unused navigation manager
Signed-off-by: provokateurin <kate@provokateurin.de>
1 parent 8886f36 commit b119f15

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

apps/files/lib/App.php

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,6 @@
2121
use Psr\Log\LoggerInterface;
2222

2323
class App {
24-
private static ?INavigationManager $navigationManager = null;
25-
26-
/**
27-
* Returns the app's navigation manager
28-
*/
29-
public static function getNavigationManager(): INavigationManager {
30-
// TODO: move this into a service in the Application class
31-
if (self::$navigationManager === null) {
32-
self::$navigationManager = new NavigationManager(
33-
Server::get(IAppManager::class),
34-
Server::get(IUrlGenerator::class),
35-
Server::get(IFactory::class),
36-
Server::get(IUserSession::class),
37-
Server::get(IGroupManager::class),
38-
Server::get(IConfig::class),
39-
Server::get(LoggerInterface::class),
40-
Server::get(IEventDispatcher::class),
41-
);
42-
self::$navigationManager->clear(false);
43-
}
44-
return self::$navigationManager;
45-
}
46-
4724
public static function extendJsConfig($settings): void {
4825
$appConfig = json_decode($settings['array']['oc_appconfig'], true);
4926

0 commit comments

Comments
 (0)