1 | <?php |
||
15 | class ProfileDelete extends AbstractUserAction { |
||
16 | |||
17 | /** @inheritdoc */ |
||
18 | public function minimumPermission() { |
||
21 | |||
22 | /** @inheritdoc */ |
||
23 | public function checkPreconditions() { |
||
24 | parent::checkPreconditions(); |
||
25 | |||
26 | /** @var \DokuWiki_Auth_Plugin $auth */ |
||
27 | global $auth; |
||
28 | if(!$auth->canDo('delUser')) throw new ActionDisabledException(); |
||
29 | } |
||
30 | |||
31 | /** @inheritdoc */ |
||
32 | public function preProcess() { |
||
41 | |||
42 | } |
||
43 |