Boolean hook call needs priority 1 to error out when any plugin has problems.
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 20 Jan 2007 07:05:20 +0000 (07:05 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 20 Jan 2007 07:05:20 +0000 (07:05 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12161 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/configtest.php

index 4f695be2b824df9b025850110ce1d4b22e5e61cc..4362b32df65eec615918ae18ba4c4d9721918f24 100644 (file)
@@ -352,7 +352,7 @@ if (isset($plugins[0])) {
      * This hook was added in 1.5.2 and 1.4.10. 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', $null);
+    $plugin_err = boolean_hook_function('configtest', $null, 1);
     if($plugin_err) {
         do_err('Some plugin tests failed.');
     } else {