SyncML fixes

This commit is contained in:
Lars Kneschke 2006-06-01 13:28:08 +00:00
parent 3648a0eb9e
commit 31d02fcbf5
2 changed files with 6 additions and 16 deletions

View File

@ -184,7 +184,6 @@
}
function addSIF($_sifData, $_id, $_sifType) {
if(!$egwData = $this->siftoegw($_sifData, $_sifType)) {
return false;
}
@ -258,18 +257,10 @@
break;
}
}
$sifTask .= '<RecurrenceType>1</RecurrenceType>
<Interval>1</Interval>
<MonthOfYear>0</MonthOfYear>
<DayOfMonth>0</DayOfMonth>
<DayOfWeekMask>4</DayOfWeekMask>
<Instance>0</Instance>
<PatternStartDate>20060320T230000Z</PatternStartDate>
<NoEndDate>1</NoEndDate>
<PatternEndDate></PatternEndDate>
<Occurrences>10</Occurrences></task>';
#error_log($sifTask);
$sifTask .= '<ActualWork>0</ActualWork><IsRecurring>0</IsRecurring>';
return base64_encode($sifTask);
/* return base64_encode("<task>
<ActualWork>0</ActualWork>
<BillingInformation></BillingInformation>
@ -302,8 +293,7 @@
<PatternEndDate></PatternEndDate>
<Occurrences>10</Occurrences>
</task>
");*/
return base64_encode($sifTask);
"); */
}
break;

View File

@ -85,7 +85,7 @@
#print "<pre>";
#print $vcal->exportvCalendar();
#print "</pre>";
return $vcal->exportvCalendar();
}