steffen: server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/framework/Net_IMAP IMAP.php, 1.1, 1.2 IMAPProtocol.php, 1.2, 1.3

cvs at intevation.de cvs at intevation.de
Tue Jun 14 17:45:53 CEST 2005


Author: steffen

Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/framework/Net_IMAP
In directory doto:/tmp/cvs-serv1244/kolab-resource-handlers/fbview/fbview/framework/Net_IMAP

Modified Files:
	IMAP.php IMAPProtocol.php 
Log Message:
Backported tiny fix from Net_IMAP 1.0.3 (not related to performance), and avoid getMessages() in order to speed up pfb creation. creating a pfb with 1000 entries now takes about 7 secs. on my devel-box (Issue793)

Index: IMAP.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/framework/Net_IMAP/IMAP.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- IMAP.php	21 Sep 2004 14:33:23 -0000	1.1
+++ IMAP.php	14 Jun 2005 15:45:51 -0000	1.2
@@ -1484,7 +1484,7 @@
 
     /******************************************************************
     **                                                               **
-    **           ALC METHODS                                         **
+    **           ACL METHODS                                         **
     **                                                               **
     ******************************************************************/
 

Index: IMAPProtocol.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/framework/Net_IMAP/IMAPProtocol.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- IMAPProtocol.php	10 Feb 2005 22:15:22 -0000	1.2
+++ IMAPProtocol.php	14 Jun 2005 15:45:51 -0000	1.3
@@ -1535,9 +1535,6 @@
             return new PEAR_Error("This IMAP server does not support ACL's! ");
         }
         $mailbox_name=sprintf("\"%s\"",$this->utf_7_encode($mailbox_name) );
-        if(is_array($acl)){
-            $acl=implode('',$acl);
-        }
 
         return $this->_genericCommand('DELETEACL', sprintf("%s \"%s\"",$mailbox_name,$user) );
     }





More information about the commits mailing list