"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "phprojekt/application/Timecard/CalDAV/CalendarBackend.php" between
PHProjekt-6.2.0.tar.gz and PHProjekt-6.2.1.tar.gz

About: PHProjekt is an application suite that supports communication and management of teams and companies. It includes a group calendar, project management, a request tracker and 12 other modules.

CalendarBackend.php  (PHProjekt-6.2.0):CalendarBackend.php  (PHProjekt-6.2.1)
skipping to change at line 223 skipping to change at line 223
* *
* @param string $calendarId The id of the calendar. Equals to the id of t he user it belongs to. * @param string $calendarId The id of the calendar. Equals to the id of t he user it belongs to.
* @param string $objectUri The uri that the new object should have. * @param string $objectUri The uri that the new object should have.
* @param string $calendarData The vobject data for the new calendar object. * @param string $calendarData The vobject data for the new calendar object.
* *
* @return void * @return void
*/ */
public function createCalendarObject($calendarId, $objectUri, $calendarData) public function createCalendarObject($calendarId, $objectUri, $calendarData)
{ {
$vcalendar = Sabre_VObject_Reader::read($calendarData); $vcalendar = Sabre_VObject_Reader::read($calendarData);
$timecard = Tiumecard_Models_VObjectReader::read($vcalendar->vevent); $timecard = Timecard_Models_VObjectReader::read($vcalendar->vevent);
$timecard->projectId = 1; $timecard->projectId = 1;
$timecard->ownerId = Phprojekt_Auth_Proxy::getEffectiveUserId(); $timecard->ownerId = Phprojekt_Auth_Proxy::getEffectiveUserId();
$timecard->uri = $objectUri; $timecard->uri = $objectUri;
$timecard->save(); $timecard->save();
} }
/** /**
* As defined in Sabre_CalDAV_Backend_Abstract * As defined in Sabre_CalDAV_Backend_Abstract
* *
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)