aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Action/Revisions.php
blob: 27b20ec29e5ac456460913dcd761c2c7b2f66c2d (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
28
<?php

namespace dokuwiki\Action;

use dokuwiki\Ui;

/**
 * Class Revisions
 *
 * Show the list of old revisions of the current page
 *
 * @package dokuwiki\Action
 */
class Revisions extends AbstractAction
{
    /** @inheritdoc */
    public function minimumPermission()
    {
        return AUTH_READ;
    }

    /** @inheritdoc */
    public function tplContent()
    {
        global $INPUT;
        (new Ui\Revisions($INPUT->int('first')))->show();
    }
}