1 | <?php |
||
15 | class Profile 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('Profile')) throw new ActionDisabledException(); |
||
29 | } |
||
30 | |||
31 | /** @inheritdoc */ |
||
32 | public function preProcess() { |
||
39 | |||
40 | /** @inheritdoc */ |
||
41 | public function tplContent() { |
||
44 | |||
45 | } |
||
46 |