* Added more plugin stuff. :-)
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 9 Feb 2001 16:13:23 +0000 (16:13 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 9 Feb 2001 16:13:23 +0000 (16:13 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1091 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/plugin.php

index 6cf3a27..46cc9ee 100644 (file)
@@ -18,6 +18,8 @@
 
    $plugin_php = true;
    $plugin_general_debug = false;
+   
+   $squirrelmail_plugin_hooks = array();
 
    // This function adds a plugin
    function use_plugin ($name) {
@@ -71,7 +73,6 @@
 
    if ($plugin_general_debug)
    {
-      global $squirrelmail_plugin_hooks;
       echo "plugin:  Hook list<br>\n";
       foreach ($squirrelmail_plugin_hooks as $Hook => $Plugins)
       {