aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Action/Check.php
blob: 88d3a3e27521011e573ee6c2cb3e7039bb2f0478 (plain) (blame)
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
27
<?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();
    }
}