summaryrefslogtreecommitdiffstats
path: root/lib/private/appframework
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-07 00:40:37 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-07 00:40:37 +0200
commit54e77e0e6645c8dc8be57b5a8d0fa8ba0b22beca (patch)
tree1bf5661080660741c84088699d0da3ab8eadf7bf /lib/private/appframework
parent780280e53f162619ba513bed4e39dde6c0f591a2 (diff)
downloadnextcloud-server-54e77e0e6645c8dc8be57b5a8d0fa8ba0b22beca.tar.gz
nextcloud-server-54e77e0e6645c8dc8be57b5a8d0fa8ba0b22beca.zip
fixing typo
Diffstat (limited to 'lib/private/appframework')
-rw-r--r--lib/private/appframework/middleware/security/securitymiddleware.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/appframework/middleware/security/securitymiddleware.php b/lib/private/appframework/middleware/security/securitymiddleware.php
index 80f3f6d966f..f103a40ee7f 100644
--- a/lib/private/appframework/middleware/security/securitymiddleware.php
+++ b/lib/private/appframework/middleware/security/securitymiddleware.php
@@ -77,7 +77,7 @@ class SecurityMiddleware extends Middleware {
// this will set the current navigation entry of the app, use this only
// for normal HTML requests and not for AJAX requests
- $this->app->getServer()->getNavigationManager()->setActiveEntry($this->api->getAppName());
+ $this->app->getServer()->getNavigationManager()->setActiveEntry($this->app->getAppName());
// security checks
$isPublicPage = $annotationReader->hasAnnotation('PublicPage');