make spamcop plugin work again
[squirrelmail.git] / plugins / spamcop / setup.php
index 0c74620e2c98bc07f21e60b17a44c7a328036093..2647cc82a469f1b5f1537354f3e83028bd477a84 100755 (executable)
@@ -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