# HG changeset patch # User Dan # Date 1201493037 18000 # Node ID 82b991bee7977e332d2113e76411ea47dbdc9199 # Parent c1c7fa6b329fa00d04db7eb66cdd003fb46501df Minor and hopefully non-breaking change to plugin loader to possibly double performance at hook points diff -r c1c7fa6b329f -r 82b991bee797 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 {