X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Ffilters%2Fspamoptions.php;h=352d98360466b9cc478f19199ae9c6f0cd285a87;hb=785fda95d72ef1fcd6a7e0198ff708e477e88be3;hp=d4b2256368c902d1589f74412a91608e879524b8;hpb=6d440be5164b305b57c042815c96dabd353a7188;p=squirrelmail.git diff --git a/plugins/filters/spamoptions.php b/plugins/filters/spamoptions.php index d4b22563..352d9836 100644 --- a/plugins/filters/spamoptions.php +++ b/plugins/filters/spamoptions.php @@ -1,73 +1,49 @@ $Value) { @@ -101,7 +77,7 @@ if ($SpamFilters_YourHop == ' ') { if (isset($action) && $action == 'spam') { - $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0); + $imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, 0); $boxes = sqimap_mailbox_list($imapConnection); sqimap_logout($imapConnection); $numboxes = count($boxes); @@ -115,10 +91,10 @@ if (isset($action) && $action == 'spam') { } echo '
'; } else { // action is not set or action is not spam echo html_tag( 'p', '', 'center' ) . '[' . _("Edit") . ']' . - ' - [' . _("Done") . ']