gunnar: server/php-kolab/Kolab_Filter/Filter Resource.php,1.10,1.11

cvs at kolab.org cvs at kolab.org
Mon Jun 9 07:27:51 CEST 2008


Author: gunnar

Update of /kolabrepository/server/php-kolab/Kolab_Filter/Filter
In directory doto:/tmp/cvs-serv32616

Modified Files:
	Resource.php 
Log Message:
Incorrect hack to solve the extended free/busy access.

Index: Resource.php
===================================================================
RCS file: /kolabrepository/server/php-kolab/Kolab_Filter/Filter/Resource.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Resource.php	5 Jun 2008 12:58:13 -0000	1.10
+++ Resource.php	9 Jun 2008 05:27:48 -0000	1.11
@@ -718,30 +718,6 @@
         }
     }
 
-    $a = $imap->getAnnotation('/vendor/kolab/pxfb-readable-for',
-                              /*array('value.shared' => 'event.default')*/'value.shared',
-                              $calmbox);
-    Horde::logMessage(sprintf(_("/vendor/kolab/pxfb-readable-for annotation for folder %s is %s"),
-                              $calmbox, print_r($a, true)),
-                      __FILE__, __LINE__, PEAR_LOG_DEBUG);
-
-    if (!strpos($a, $calendar_user)) {
-        if (empty($a)) {
-            $a = $calendar_user;
-        } else {
-            $a = $a . ' ' . $calendar_user;
-        }
-        $rc = $imap->setAnnotation('/vendor/kolab/pxfb-readable-for',
-                                   array('value.shared' => $a),
-                                   $calmbox);
-        if( PEAR::isError($rc)) {
-            // Non fatal error
-            Horde::logMessage(sprintf(_("Unable to allow XFB read access on mailbox %s: %s"),
-                                      $mymailbox, $rc->getMessage()),
-                              __FILE__, __LINE__, PEAR_LOG_ERR);
-        }
-    }
-        
     Horde::logMessage(sprintf(_("Selecting  %s for %s"),
                               $calmbox, $calendar_user),
                       __FILE__, __LINE__, PEAR_LOG_DEBUG);





More information about the commits mailing list