Fix incorrect stristr() parameter order
[squirrelmail.git] / plugins / spamcop / setup.php
index 912788bf619cfdab1b86ca5aae8a33b65c17eb15..fbb2d4791cf71effc1927198ade105e54434d454 100755 (executable)
@@ -3,7 +3,7 @@
 /**
  * setup.php -- SpamCop plugin - setup script
  *
- * @copyright © 1999-2005 The SquirrelMail Project Team
+ * @copyright © 1999-2009 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -41,9 +41,9 @@ function spamcop_load() {
  * Shows spamcop link on the read-a-message screen
  * @access private
  */
-function spamcop_show_link() {
+function spamcop_show_link(&$links) {
     include_once(SM_PATH . 'plugins/spamcop/functions.php');
-    spamcop_show_link_function();
+    spamcop_show_link_function($links);
 }
 
 /**
@@ -64,4 +64,3 @@ function spamcop_while_sending() {
     include_once(SM_PATH . 'plugins/spamcop/functions.php');
     spamcop_while_sending_function();
 }
-?>
\ No newline at end of file