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