diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-09 12:31:54 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-17 18:56:37 +0200 |
commit | 998b3a2581fb873b03bcf4dc02eafb19390b3cd6 (patch) | |
tree | 9c90078211fa2af1e3f570540d38bec47a634bae /apps/files/lib/AppInfo | |
parent | a820e3d036741ad1194361eca11bc1cbcdda0a47 (diff) | |
download | nextcloud-server-998b3a2581fb873b03bcf4dc02eafb19390b3cd6.tar.gz nextcloud-server-998b3a2581fb873b03bcf4dc02eafb19390b3cd6.zip |
feat(f2v): migrate Files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/lib/AppInfo')
-rw-r--r-- | apps/files/lib/AppInfo/Application.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/files/lib/AppInfo/Application.php b/apps/files/lib/AppInfo/Application.php index feba7b09178..9099dbaceb2 100644 --- a/apps/files/lib/AppInfo/Application.php +++ b/apps/files/lib/AppInfo/Application.php @@ -133,7 +133,6 @@ class Application extends App implements IBootstrap { $context->injectFn([Listener::class, 'register']); $context->injectFn(Closure::fromCallable([$this, 'registerSearchProvider'])); $this->registerTemplates(); - $context->injectFn(Closure::fromCallable([$this, 'registerNavigation'])); $this->registerHooks(); } @@ -152,18 +151,6 @@ class Application extends App implements IBootstrap { $templateManager->registerTemplate('application/vnd.oasis.opendocument.spreadsheet', 'core/templates/filetemplates/template.ods'); } - private function registerNavigation(IL10N $l10n): void { - \OCA\Files\App::getNavigationManager()->add(function () use ($l10n) { - return [ - 'id' => 'files', - 'appname' => 'files', - 'script' => 'list.php', - 'order' => 0, - 'name' => $l10n->t('All files') - ]; - }); - } - private function registerHooks(): void { Util::connectHook('\OCP\Config', 'js', '\OCA\Files\App', 'extendJsConfig'); } |