martin: server/kolab-resource-handlers/kolab-resource-handlers/resmgr olhacks.php.in, 1.2, 1.3 resmgr.php.in, 1.2, 1.3

cvs at intevation.de cvs at intevation.de
Mon Apr 10 05:35:06 CEST 2006


Author: martin

Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr
In directory doto:/tmp/cvs-serv17886/kolab-resource-handlers/resmgr

Modified Files:
	olhacks.php.in resmgr.php.in 
Log Message:
Martin Konold: Initial cleanup of Horde dependencies


Index: olhacks.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/olhacks.php.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- olhacks.php.in	5 Feb 2006 20:15:10 -0000	1.2
+++ olhacks.php.in	10 Apr 2006 03:35:04 -0000	1.3
@@ -19,9 +19,7 @@
  */
 
 require_once '@kolab_php_module_prefix at kolabfilter/misc.php';
-require_once HORDE_BASE . '/lib/core.php';
 require_once 'Horde/iCalendar.php';
-require_once 'Horde/NLS.php';
 require_once 'Horde/MIME.php';
 require_once 'Horde/MIME/Message.php';
 require_once 'Horde/MIME/Headers.php';

Index: resmgr.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/resmgr.php.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- resmgr.php.in	5 Feb 2006 20:15:10 -0000	1.2
+++ resmgr.php.in	10 Apr 2006 03:35:04 -0000	1.3
@@ -33,16 +33,13 @@
 define('RM_ITIP_TENTATIVE',                 3);
 
 require_once 'Net/IMAP.php';
-require_once 'Horde/Auth.php';
 require_once 'Horde/iCalendar.php';
-require_once 'Horde/NLS.php';
 require_once 'Horde/MIME.php';
 require_once 'Horde/MIME/Message.php';
 require_once 'Horde/MIME/Headers.php';
 require_once 'Horde/MIME/Part.php';
 require_once 'Horde/MIME/Structure.php';
-//include_once 'Horde/Kolab.php';
-require_once 'Horde/Text.php';
+require_once 'Horde/String.php';
 require_once '@kolab_php_module_prefix at freebusy/recurrence.class.php';
 
 // Globals
@@ -545,7 +542,7 @@
     $vCal->addComponent($itip_reply);
 
     //$mime = &new MIME_Part('multipart/alternative');
-    //$body = &new MIME_Part('text/plain', Text::wrap($message, 76, "\n"));
+    //$body = &new MIME_Part('text/plain', String::wrap($message, 76, "\n"));
 
     $ics = &new MIME_Part('text/calendar', $vCal->exportvCalendar(), 'UTF-8' );
     //$ics->setName('event-reply.ics');
@@ -1203,7 +1200,7 @@
 
     $kolabinfo = 'This is a Kolab Groupware object. To view this object you will need a client that understands the Kolab Groupware format. For a list of such clients please visit http://www.kolab.org/kolab2-clients.html';
 
-    $body = &new MIME_Part('text/plain', Text::wrap($kolabinfo, 76, "\n"));
+    $body = &new MIME_Part('text/plain', String::wrap($kolabinfo, 76, "\n"));
 
     $part = &new MIME_Part('application/x-vnd.kolab.event', $kolab_xml->dump_mem(true));
     $part->setName('kolab.event');
@@ -1300,7 +1297,7 @@
     }
 
     myLog("Sending confirmation of cancelation to $organiser");
-    $body = &new MIME_Part('text/plain', Text::wrap($body, 76, "\n"));
+    $body = &new MIME_Part('text/plain', String::wrap($body, 76, "\n"));
     $mime = &MIME_Message::convertMimePart($body);
     $mime->setTransferEncoding('quoted-printable');
     $mime->transferEncodeContents();





More information about the commits mailing list