Home
last modified time | relevance | path

Searched refs:ActionDisabledException (Results 1 – 9 of 9) sorted by relevance

/dokuwiki/inc/Action/
H A DRegister.php7 use dokuwiki\Action\Exception\ActionDisabledException; alias
34 … if (isset($conf['openregister']) && !$conf['openregister']) throw new ActionDisabledException();
35 if (!$auth->canDo('addUser')) throw new ActionDisabledException();
H A DProfileDelete.php6 use dokuwiki\Action\Exception\ActionDisabledException; alias
31 if (!$auth->canDo('delUser')) throw new ActionDisabledException();
H A DProfile.php7 use dokuwiki\Action\Exception\ActionDisabledException; alias
33 if (!$auth->canDo('Profile')) throw new ActionDisabledException();
H A DLogout.php5 use dokuwiki\Action\Exception\ActionDisabledException; alias
31 if (!$auth->canDo('logout')) throw new ActionDisabledException();
H A DResendpwd.php7 use dokuwiki\Action\Exception\ActionDisabledException; alias
35 throw new ActionDisabledException(); //legacy option
36 if (!$auth->canDo('modPass')) throw new ActionDisabledException();
H A DSubscribe.php6 use dokuwiki\Action\Exception\ActionDisabledException; alias
33 … if (isset($conf['subscribers']) && !$conf['subscribers']) throw new ActionDisabledException();
/dokuwiki/inc/Action/Exception/
H A DActionDisabledException.php15 class ActionDisabledException extends ActionException class
/dokuwiki/inc/
H A DActionRouter.php7 use dokuwiki\Action\Exception\ActionDisabledException; alias
97 if ($e instanceof ActionDisabledException) {
201 * @throws ActionDisabledException
210 throw new ActionDisabledException();
/dokuwiki/_test/tests/Action/
H A DActionTest.php8 use dokuwiki\Action\Exception\ActionDisabledException; alias
112 $this->assertNotSame(ActionDisabledException::class, get_class($e));
120 $this->assertSame(ActionDisabledException::class, get_class($e), $e);