summaryrefslogtreecommitdiff
path: root/lib/plugins/revert/admin.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-02-01 16:10:25 +0100
committerAndreas Gohr <andi@splitbrain.org>2010-02-01 16:10:25 +0100
commitc2a6d81662045023bdf1617b6b49f71c274d55ca (patch)
tree3449fc7e242890cbc1c18293e6efbca7a7403df9 /lib/plugins/revert/admin.php
parent0af14a6e25ba35e88d96762bc73325838868e3fe (diff)
downloadrpg-c2a6d81662045023bdf1617b6b49f71c274d55ca.tar.gz
rpg-c2a6d81662045023bdf1617b6b49f71c274d55ca.tar.bz2
plugin related autoloading
This patch moved the place where DOKU_PLUGIN is defined. It no longer can be set from a normal config (only via preload)
Diffstat (limited to 'lib/plugins/revert/admin.php')
-rw-r--r--lib/plugins/revert/admin.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/plugins/revert/admin.php b/lib/plugins/revert/admin.php
index b24b1ff6e..1a327ca8a 100644
--- a/lib/plugins/revert/admin.php
+++ b/lib/plugins/revert/admin.php
@@ -2,10 +2,6 @@
// must be run within Dokuwiki
if(!defined('DOKU_INC')) die();
-if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
-require_once(DOKU_PLUGIN.'admin.php');
-require_once(DOKU_INC.'inc/changelog.php');
-
/**
* All DokuWiki plugins to extend the admin function
* need to inherit from this class