From 15a53894b0ffc92ce2e0ec744dc253d3b9cfc83b Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Fri, 31 Mar 2017 12:06:01 +0200
Subject: [PATCH] added missing Revisions action

---
 inc/Action/Revisions.php | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 inc/Action/Revisions.php

diff --git a/inc/Action/Revisions.php b/inc/Action/Revisions.php
new file mode 100644
index 000000000..941fb6ec5
--- /dev/null
+++ b/inc/Action/Revisions.php
@@ -0,0 +1,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 */
+    function minimumPermission() {
+        return AUTH_READ;
+    }
+
+    /** @inheritdoc */
+    public function tplContent() {
+        global $INPUT;
+        html_revisions($INPUT->int('first'));
+    }
+}
-- 
GitLab