Massive update to plugin system architecture. Please test! Not all core plugins...
[squirrelmail.git] / src / configtest.php
index 4375cd72fca654c5656287a27575380616124dbc..8fabfbbed3a6fd27f19f1efc5dee956bb070d9a3 100644 (file)
@@ -328,10 +328,10 @@ if (isset($plugins[0])) {
         do_err($plugin_load_error);
     }
     /**
-     * Hook is added in 1.5.2. Plugins should print error message and return true
-     * if there is an error in plugin.
+     * This hook was added in 1.5.2. Each plugins should print an error 
+     * message and return TRUE if there are any errors in its setup/configuration.
      */
-    $plugin_err = boolean_hook_function('configtest');
+    $plugin_err = boolean_hook_function('configtest', $null);
     if($plugin_err) {
         do_err('Some plugin tests failed.');
     } else {