From fbb7e354f4aff3e38f01b228b843aa3ae91754ed Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sun, 17 Jan 2010 13:48:00 +0100
Subject: [PATCH] more deprecated new by reference code fixed

---
 lib/plugins/plugin/admin.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/plugins/plugin/admin.php b/lib/plugins/plugin/admin.php
index 4f8cc01a2..198512a43 100644
--- a/lib/plugins/plugin/admin.php
+++ b/lib/plugins/plugin/admin.php
@@ -111,7 +111,7 @@ class admin_plugin_plugin extends DokuWiki_Admin_Plugin {
             $class = 'ap_manage';
         }
 
-        $this->handler = & new $class($this, $this->plugin);
+        $this->handler = new $class($this, $this->plugin);
         $this->msg = $this->handler->process();
 
     }
@@ -124,7 +124,7 @@ class admin_plugin_plugin extends DokuWiki_Admin_Plugin {
         $this->setupLocale();
         $this->_get_plugin_list();
 
-        if ($this->handler === NULL) $this->handler = & new ap_manage($this, $this->plugin);
+        if ($this->handler === NULL) $this->handler = new ap_manage($this, $this->plugin);
 
         ptln('<div id="plugin__manager">');
         $this->handler->html();
-- 
GitLab