From a81c88022ed2d0e2c69e8e71d21e5d184480787a Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Fri, 27 Jun 2008 23:48:31 +0200
Subject: [PATCH] DOKUWIKI_INIT patch rollback

darcs-hash:20080627214831-7ad00-d6eee0ddd406c972455871da75d04c5f5fc8a307.gz
---
 inc/init.php | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/inc/init.php b/inc/init.php
index 854d42932..5a565c9af 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -13,11 +13,6 @@
   // define the include path
   if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
 
-  // trigger DOKUWIKI_INIT event to allow action plugins to overwrite constants
-  // load events.php, external scripts can just include inc/init.php
-  require_once(DOKU_INC.'inc/events.php');
-  trigger_event('DOKUWIKI_INIT', $tmp=array());
-
   // define config path (packagers may want to change this to /etc/dokuwiki/)
   if(!defined('DOKU_CONF')) define('DOKU_CONF',DOKU_INC.'conf/');
 
-- 
GitLab