Searched refs:ActionDisabledException (Results 1 – 9 of 9) sorted by relevance
7 use dokuwiki\Action\Exception\ActionDisabledException; alias34 … if (isset($conf['openregister']) && !$conf['openregister']) throw new ActionDisabledException();35 if (!$auth->canDo('addUser')) throw new ActionDisabledException();
6 use dokuwiki\Action\Exception\ActionDisabledException; alias31 if (!$auth->canDo('delUser')) throw new ActionDisabledException();
7 use dokuwiki\Action\Exception\ActionDisabledException; alias33 if (!$auth->canDo('Profile')) throw new ActionDisabledException();
5 use dokuwiki\Action\Exception\ActionDisabledException; alias31 if (!$auth->canDo('logout')) throw new ActionDisabledException();
7 use dokuwiki\Action\Exception\ActionDisabledException; alias35 throw new ActionDisabledException(); //legacy option36 if (!$auth->canDo('modPass')) throw new ActionDisabledException();
6 use dokuwiki\Action\Exception\ActionDisabledException; alias33 … if (isset($conf['subscribers']) && !$conf['subscribers']) throw new ActionDisabledException();
15 class ActionDisabledException extends ActionException class
7 use dokuwiki\Action\Exception\ActionDisabledException; alias97 if ($e instanceof ActionDisabledException) {201 * @throws ActionDisabledException210 throw new ActionDisabledException();
8 use dokuwiki\Action\Exception\ActionDisabledException; alias112 $this->assertNotSame(ActionDisabledException::class, get_class($e));120 $this->assertSame(ActionDisabledException::class, get_class($e), $e);