diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-08-18 15:32:40 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-08-18 15:32:40 +0200 |
commit | 2e4cd445564ba4882ab239bbfd82b6aa800436e3 (patch) | |
tree | 9f8126ff5dde02c01f27b04ce921db26aad3ba2f /lib/private/NavigationManager.php | |
parent | a04feff9a780d77ca172ba7558a7d0cc4e01dc36 (diff) | |
download | nextcloud-server-2e4cd445564ba4882ab239bbfd82b6aa800436e3.tar.gz nextcloud-server-2e4cd445564ba4882ab239bbfd82b6aa800436e3.zip |
Inject \OCP\IURLGenerator to make tests work
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/NavigationManager.php')
-rw-r--r-- | lib/private/NavigationManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php index ffeaca2b81e..5e484bea737 100644 --- a/lib/private/NavigationManager.php +++ b/lib/private/NavigationManager.php @@ -187,7 +187,7 @@ class NavigationManager implements INavigationManager { 'icon' => $this->urlGenerator->imagePath('settings', 'admin.svg'), ]); - $logoutUrl = \OC_User::getLogoutUrl(); + $logoutUrl = \OC_User::getLogoutUrl($this->urlGenerator); if($logoutUrl !== '') { // Logout $this->add([ |