1 | <?php |
||
15 | class Draft extends AbstractAction { |
||
16 | |||
17 | /** @inheritdoc */ |
||
18 | public function minimumPermission() { |
||
26 | |||
27 | /** @inheritdoc */ |
||
28 | public function checkPreconditions() { |
||
29 | parent::checkPreconditions(); |
||
30 | global $INFO; |
||
31 | if(!file_exists($INFO['draft'])) throw new ActionException('edit'); |
||
32 | } |
||
33 | |||
34 | /** @inheritdoc */ |
||
35 | public function tplContent() { |
||
38 | |||
39 | } |
||
40 |