Make phan happy ;)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
15f00f0126
commit
9055f46351
1 changed files with 2 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue