diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-02-14 17:13:09 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-02-14 17:36:23 -0600 |
commit | b954c2f1860aac2542df0c284e6ecfc68b6e3608 (patch) | |
tree | 5434ee7d841066076b236ed1c9d00eda93e3e3aa /apps/files/lib | |
parent | 9f74858537377d1aae6cf8b7530c9faa987cf8ff (diff) | |
download | nextcloud-server-b954c2f1860aac2542df0c284e6ecfc68b6e3608.tar.gz nextcloud-server-b954c2f1860aac2542df0c284e6ecfc68b6e3608.zip |
Fix app name of files app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files/lib')
-rw-r--r-- | apps/files/lib/AppInfo/Application.php | 1 | ||||
-rw-r--r-- | apps/files/lib/Controller/ViewController.php | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/apps/files/lib/AppInfo/Application.php b/apps/files/lib/AppInfo/Application.php index 4e5ec03eecf..43c977655c3 100644 --- a/apps/files/lib/AppInfo/Application.php +++ b/apps/files/lib/AppInfo/Application.php @@ -57,7 +57,6 @@ class Application extends App { $c->query('AppName'), $c->query('Request'), $server->getURLGenerator(), - $server->getNavigationManager(), $c->query('L10N'), $server->getConfig(), $server->getEventDispatcher(), diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index 6f74fec861f..788840ff1cc 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -55,8 +55,6 @@ class ViewController extends Controller { protected $request; /** @var IURLGenerator */ protected $urlGenerator; - /** @var INavigationManager */ - protected $navigationManager; /** @var IL10N */ protected $l10n; /** @var IConfig */ @@ -74,7 +72,6 @@ class ViewController extends Controller { * @param string $appName * @param IRequest $request * @param IURLGenerator $urlGenerator - * @param INavigationManager $navigationManager * @param IL10N $l10n * @param IConfig $config * @param EventDispatcherInterface $eventDispatcherInterface @@ -85,7 +82,6 @@ class ViewController extends Controller { public function __construct($appName, IRequest $request, IURLGenerator $urlGenerator, - INavigationManager $navigationManager, IL10N $l10n, IConfig $config, EventDispatcherInterface $eventDispatcherInterface, @@ -97,7 +93,6 @@ class ViewController extends Controller { $this->appName = $appName; $this->request = $request; $this->urlGenerator = $urlGenerator; - $this->navigationManager = $navigationManager; $this->l10n = $l10n; $this->config = $config; $this->eventDispatcher = $eventDispatcherInterface; @@ -244,7 +239,6 @@ class ViewController extends Controller { $params['fileNotFound'] = $fileNotFound ? 1 : 0; $params['appNavigation'] = $nav; $params['appContents'] = $contentItems; - $this->navigationManager->setActiveEntry('files_index'); $response = new TemplateResponse( $this->appName, |