summaryrefslogtreecommitdiff
path: root/platform/www/inc/Action/Check.php
blob: 36ae8e8bd279da7f4581ca3f0b385b32e1097a03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

namespace dokuwiki\Action;

use dokuwiki\Action\Exception\ActionAbort;

/**
 * Class Check
 *
 * Adds some debugging info before aborting to show
 *
 * @package dokuwiki\Action
 */
class Check extends AbstractAction {

    /** @inheritdoc */
    public function minimumPermission() {
        return AUTH_READ;
    }

    public function preProcess() {
        check();
        throw new ActionAbort();
    }

}