Yes this looks like a bad oversight.
Seems like $eventid@hostname should be enough.
This should fix it:
Index: export_execute.php
===================================================================
RCS file: /cvsroot/moodle/moodle/calendar/export_execute.php,v
retrieving revision 1.5.2.8
diff -c -r1.5.2.8 export_execute.php
-
-
- export_execute.php 31 Dec 2008 15:54:09 -0000 1.5.2.8
- export_execute.php 20 Jan 2009 03:04:43 -0000
***************
- 127,133 ----
}
}
$ev = new iCalendar_event;
+ $ev->add_property('uid', $event->id.'@'.$_SERVER['HTTP_HOST']);
$ev->add_property('summary', $event->name);
$ev->add_property('description', $event->description);
$ev->add_property('class', 'PUBLIC'); // PUBLIC / PRIVATE / CONFIDENTIAL
Yes this looks like a bad oversight.
Seems like $eventid@hostname should be enough.
This should fix it:
Index: export_execute.php
===================================================================
RCS file: /cvsroot/moodle/moodle/calendar/export_execute.php,v
retrieving revision 1.5.2.8
diff -c -r1.5.2.8 export_execute.php
***************
}
}
$ev = new iCalendar_event;
+ $ev->add_property('uid', $event->id.'@'.$_SERVER['HTTP_HOST']);
$ev->add_property('summary', $event->name);
$ev->add_property('description', $event->description);
$ev->add_property('class', 'PUBLIC'); // PUBLIC / PRIVATE / CONFIDENTIAL