about summary refs log tree commit diff stats
path: root/wiki/inc/Action/Diff.php
diff options
context:
space:
mode:
Diffstat (limited to 'wiki/inc/Action/Diff.php')
-rw-r--r--wiki/inc/Action/Diff.php35
1 files changed, 0 insertions, 35 deletions
diff --git a/wiki/inc/Action/Diff.php b/wiki/inc/Action/Diff.php
deleted file mode 100644
index b14b1d0..0000000
--- a/wiki/inc/Action/Diff.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-
-namespace dokuwiki\Action;
-
-/**
- * Class Diff
- *
- * Show the differences between two revisions
- *
- * @package dokuwiki\Action
- */
-class Diff extends AbstractAction {
-
-    /** @inheritdoc */
-    public function minimumPermission() {
-        return AUTH_READ;
-    }
-
-    /** @inheritdoc */
-    public function preProcess() {
-        global $INPUT;
-
-        // store the selected diff type in cookie
-        $difftype = $INPUT->str('difftype');
-        if(!empty($difftype)) {
-            set_doku_pref('difftype', $difftype);
-        }
-    }
-
-    /** @inheritdoc */
-    public function tplContent() {
-        html_diff();
-    }
-
-}