xref: /dokuwiki/inc/Action/Draftdel.php (revision f21dad3906d4ec6b3d86685599409894630abdc1)
1<?php
2/**
3 * Created by IntelliJ IDEA.
4 * User: andi
5 * Date: 2/11/17
6 * Time: 10:13 AM
7 */
8
9namespace dokuwiki\Action;
10
11use dokuwiki\Action\Exception\ActionAbort;
12
13class Draftdel extends AbstractUserAction {
14
15    /** @inheritdoc */
16    function minimumPermission() {
17        return AUTH_EDIT;
18    }
19
20    public function preProcess() {
21        act_draftdel('fixme'); // FIXME replace this utility function
22        throw new ActionAbort();
23    }
24
25}
26