Minor and hopefully non-breaking change to plugin loader to possibly double performance at hook points
authorDan
Sun, 27 Jan 2008 23:03:57 -0500
changeset 379 82b991bee797
parent 378 c1c7fa6b329f
child 380 73444271fd1c
Minor and hopefully non-breaking change to plugin loader to possibly double performance at hook points
includes/plugins.php
--- a/includes/plugins.php	Sun Jan 27 22:57:40 2008 -0500
+++ b/includes/plugins.php	Sun Jan 27 23:03:57 2008 -0500
@@ -80,7 +80,7 @@
     */
     if(isset($this->hook_list[$name]) && is_array($this->hook_list[$name]))
     {
-      return $this->hook_list[$name];
+      return array(implode("\n", $this->hook_list[$name]));
     }
     else
     {