removed sime unneeded debug output

This commit is contained in:
Lars Kneschke 2006-03-21 13:27:07 +00:00
parent 0590ce37b9
commit e15d167c87

View File

@ -76,11 +76,11 @@
$sysCharSet = $GLOBALS['egw']->translation->charset(); $sysCharSet = $GLOBALS['egw']->translation->charset();
$sifData = base64_decode($_sifData); $sifData = base64_decode($_sifData);
$tmpfname = tempnam('/tmp/sync/contents','sift_'); #$tmpfname = tempnam('/tmp/sync/contents','sift_');
$handle = fopen($tmpfname, "w"); #$handle = fopen($tmpfname, "w");
fwrite($handle, $sifData); #fwrite($handle, $sifData);
fclose($handle); #fclose($handle);
$this->_currentSIFMapping = $this->_sifTaskMapping; $this->_currentSIFMapping = $this->_sifTaskMapping;
$this->xml_parser = xml_parser_create('UTF-8'); $this->xml_parser = xml_parser_create('UTF-8');
@ -175,10 +175,7 @@
$filter = array('col_filter' => $egwData); $filter = array('col_filter' => $egwData);
if($foundItems = $this->search($filter)) { if($foundItems = $this->search($filter)) {
if(count($foundItems) > 0) { if(count($foundItems) > 0) {
#error_log(__LINE__);
#error_log(print_r($foundItems, true));
$itemIDs = array_keys($foundItems); $itemIDs = array_keys($foundItems);
#error_log($itemIDs[0]);
return $itemIDs[0]; return $itemIDs[0];
} }
} }
@ -325,9 +322,6 @@
//_debug_array($taskData); //_debug_array($taskData);
$taskGUID = $GLOBALS['phpgw']->common->generate_uid('infolog_task',$_taskID); $taskGUID = $GLOBALS['phpgw']->common->generate_uid('infolog_task',$_taskID);
#print "<br>";
#print $GLOBALS['phpgw']->contenthistory->getTSforAction($eventGUID,'add');
#print "<br>";
$vcal = &new Horde_iCalendar; $vcal = &new Horde_iCalendar;
$vcal->setAttribute('VERSION',$_version); $vcal->setAttribute('VERSION',$_version);