[Svn] r2934 - trunk/roundcubemail/plugins/managesieve/lib

trac at roundcube.net trac at roundcube.net
Tue Sep 8 12:39:14 CEST 2009


Author: alec
Date: 2009-09-08 05:39:14 -0500 (Tue, 08 Sep 2009)
New Revision: 2934

Modified:
   trunk/roundcubemail/plugins/managesieve/lib/rcube_sieve.php
Log:
- fix warning when importing squirrelmail rules


Modified: trunk/roundcubemail/plugins/managesieve/lib/rcube_sieve.php
===================================================================
--- trunk/roundcubemail/plugins/managesieve/lib/rcube_sieve.php	2009-09-08 08:04:17 UTC (rev 2933)
+++ trunk/roundcubemail/plugins/managesieve/lib/rcube_sieve.php	2009-09-08 10:39:14 UTC (rev 2934)
@@ -117,7 +117,7 @@
 
           $script = $this->_convert_from_squirrel_rules($script);
 
-          $this->script = new rcube_sieve_script($script);
+          $this->script = new rcube_sieve_script($script, $this->disabled);
        
           $this->save();
 
@@ -184,7 +184,7 @@
     * @param  string  Script's text content
     * @param  array   Disabled extensions
     */
-  public function __construct($script, $disabled)
+  public function __construct($script, $disabled=NULL)
     {
       if (!empty($disabled))
         foreach ($disabled as $ext)

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list