Filter plugin fixes...
authorthomppj <thomppj@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 26 Feb 2002 21:04:33 +0000 (21:04 +0000)
committerthomppj <thomppj@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 26 Feb 2002 21:04:33 +0000 (21:04 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2518 7612ce4b-ef26-0410-bec9-ea0150e637f0

ChangeLog
plugins/filters/filters.php
plugins/filters/setup.php

index 5eaa247..540f9ab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,8 @@ Version 1.2.6 -- CVS
   - Fixed resume draft bug #513521, #514639
   - Newmail plugin: admin can disablethe use of audio (patch #517698)
   - Fixed quoting problem in safe html (patch #516542)
+  - SPAM folder no longer special folder (filters plugin)
+  - Filtering now happens on folder list refresh (filters plugin)
        
 Version 1.2.5 -- 22 February 2002
 ---------------------------------
index e462a27..11f0933 100644 (file)
@@ -111,7 +111,7 @@ function start_filters() {
         $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 @@ function start_filters() {
         if (!$previously_connected) {
             sqimap_logout($stream);
         }
-    }
+#    }
 }
 
 
index bb5d7ed..96bd4ee 100644 (file)
@@ -76,7 +76,7 @@ function squirrelmail_plugin_init_filters() {
         $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 ) {