diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-11-19 16:16:26 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-11-19 16:16:26 +0100 |
commit | 9055f46351bba23b31d966251486a2b2d47bbdd0 (patch) | |
tree | 17d2242ffdd6ed8977b3e7858875983b9a5f99b1 /lib/private/AppFramework | |
parent | 15f00f01263aa00d7722bf5618cb062170d5830e (diff) | |
download | nextcloud-server-9055f46351bba23b31d966251486a2b2d47bbdd0.tar.gz nextcloud-server-9055f46351bba23b31d966251486a2b2d47bbdd0.zip |
Make phan happy ;)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r-- | lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php b/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php index 52d1823f219..586d4057641 100644 --- a/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php +++ b/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php @@ -121,6 +121,8 @@ class SecurityMiddleware extends Middleware { * @param Controller $controller the controller * @param string $methodName the name of the method * @throws SecurityException when a security check fails + * + * @suppress PhanUndeclaredClassConstant */ public function beforeController($controller, $methodName) { @@ -128,7 +130,6 @@ class SecurityMiddleware extends Middleware { // for normal HTML requests and not for AJAX requests $this->navigationManager->setActiveEntry($this->appName); - /** @suppress PhanUndeclaredClassConstant */ if ($controller === \OCA\Talk\Controller\PageController::class && $methodName === 'showCall') { $this->navigationManager->setActiveEntry('spreed'); } |