From: Paul J. T. <th...@us...> - 2002-02-26 21:04:39
|
Update of /cvsroot/squirrelmail/squirrelmail/plugins/filters In directory usw-pr-cvs1:/tmp/cvs-serv24706/plugins/filters Modified Files: filters.php setup.php Log Message: Filter plugin fixes... Index: filters.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/filters/filters.php,v retrieving revision 1.18 retrieving revision 1.19 diff -u -w -r1.18 -r1.19 --- filters.php 20 Feb 2002 00:16:48 -0000 1.18 +++ filters.php 26 Feb 2002 21:04:33 -0000 1.19 @@ -111,7 +111,7 @@ $imap_general, $filters, $imap_stream, $imapConnection, $UseSeparateImapConnection, $AllowSpamFilters; - if ($mailbox == 'INBOX') { +# if ($mailbox == 'INBOX') { // Detect if we have already connected to IMAP or not. // Also check if we are forced to use a separate IMAP connection if ((!isset($imap_stream) && !isset($imapConnection)) || @@ -140,7 +140,7 @@ if (!$previously_connected) { sqimap_logout($stream); } - } +# } } Index: setup.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/filters/setup.php,v retrieving revision 1.12 retrieving revision 1.13 diff -u -w -r1.12 -r1.13 --- setup.php 10 Feb 2002 15:43:47 -0000 1.12 +++ setup.php 26 Feb 2002 21:04:33 -0000 1.13 @@ -76,7 +76,7 @@ $squirrelmail_plugin_hooks['right_main_after_header']['filters'] = 'start_filters'; } $squirrelmail_plugin_hooks['optpage_register_block']['filters'] = 'squirrelmail_plugin_optpage_register_block'; - $squirrelmail_plugin_hooks['special_mailbox']['filters'] = 'filters_special_mailbox'; +# $squirrelmail_plugin_hooks['special_mailbox']['filters'] = 'filters_special_mailbox'; } function filters_special_mailbox( $mb ) { |