steffen: server/kolab-resource-handlers/kolab-resource-handlers/freebusy pfb.php, 1.4, 1.5

cvs at intevation.de cvs at intevation.de
Thu Oct 14 04:28:31 CEST 2004


Author: steffen

Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv29917/kolab-resource-handlers/freebusy

Modified Files:
	pfb.php 
Log Message:
fixlet

Index: pfb.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/pfb.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- pfb.php	14 Oct 2004 02:12:51 -0000	1.4
+++ pfb.php	14 Oct 2004 02:28:29 -0000	1.5
@@ -115,6 +115,9 @@
     trigger_error('Could not store xpfb in cache file '.$owner.'/'.$folder
 		  .'.xpfb: '.$cache->error, E_USER_WARNING);
   }
+
+  if( $req_extended ) $vfb = $xvfb;
+  unset($xvfb);
 }
 
 // And finally send it out, ensuring it doesn't get cached along the way
@@ -129,14 +132,14 @@
     header('Content-Type: text/calendar');
 }
 if ($params['send_content_length']) {
-    header('Content-Length: ' . strlen($req_extended?$xvfb:$vfb));
+    header('Content-Length: ' . strlen($vfb));
 }
 if ($params['send_content_disposition']) {
     header('Content-Disposition: attachment; filename="' . $user . '.vfb"');
 }
 
 #print "folder=$req_folder, cache=$req_cache, extended=$req_extended";
-echo ($req_extended?$xvfb:$vfb);
+echo $vfb;
 #print_r($acl);
 
 // Finish up





More information about the commits mailing list