xref: /dokuwiki/inc/Action/Draftdel.php (revision 480336a332edb3421967e8a704976494c582e76c)
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 AbstractUserAction {
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