xref: /dokuwiki/inc/Action/Draftdel.php (revision 0f9e19d90383dd0deb85e1c4ef4750811f102d0f)
1<?php
2
3namespace dokuwiki\Action;
4
5use dokuwiki\Action\Exception\ActionAbort;
6
7/**
8 * Class Draftdel
9 *
10 * Delete a draft
11 *
12 * @package dokuwiki\Action
13 */
14class Draftdel extends AbstractAction {
15
16    /** @inheritdoc */
17    public function minimumPermission() {
18        return AUTH_EDIT;
19    }
20
21    public function preProcess() {
22        act_draftdel('fixme'); // FIXME replace this utility function
23        throw new ActionAbort();
24    }
25
26}
27