1<?php 2/** 3 * Created by IntelliJ IDEA. 4 * User: andi 5 * Date: 2/10/17 6 * Time: 3:16 PM 7 */ 8 9namespace dokuwiki\Action; 10 11use dokuwiki\Action\Exception\ActionAbort; 12 13class Check extends AbstractAction { 14 15 /** @inheritdoc */ 16 function minimumPermission() { 17 return AUTH_READ; 18 } 19 20 public function preProcess() { 21 check(); 22 throw new ActionAbort(); 23 } 24 25} 26