about summary refs log tree commit diff stats
path: root/wiki/inc/Action/Revisions.php
blob: b8db531c78ae88d69dbfd5b12c68ee717ef872aa (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
<?php

namespace dokuwiki\Action;

/**
 * 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;
        html_revisions($INPUT->int('first'));
    }
}