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