summaryrefslogtreecommitdiff
path: root/lib/plugins/plugin/admin.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-01-17 13:48:00 +0100
committerAndreas Gohr <andi@splitbrain.org>2010-01-17 13:48:00 +0100
commitfbb7e354f4aff3e38f01b228b843aa3ae91754ed (patch)
tree2bbb8bb7d83618494af721f9131c946d2f4ba27c /lib/plugins/plugin/admin.php
parentcce7ae9882da5682192e7153f5b2b5cfdcf5f0ec (diff)
downloadrpg-fbb7e354f4aff3e38f01b228b843aa3ae91754ed.tar.gz
rpg-fbb7e354f4aff3e38f01b228b843aa3ae91754ed.tar.bz2
more deprecated new by reference code fixed
Diffstat (limited to 'lib/plugins/plugin/admin.php')
-rw-r--r--lib/plugins/plugin/admin.php4
1 files 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();