| @@ 880-893 (lines=14) @@ | ||
| 877 | if ($recur_date && ($master = $this->read($_id, 0, true, 'server'))) |
|
| 878 | { |
|
| 879 | $days = $this->so->get_recurrence_exceptions($master, $tzid, 0, 0, 'tz_rrule'); |
|
| 880 | if (isset($days[$recur_date])) |
|
| 881 | { |
|
| 882 | $recur_date = $days[$recur_date]; // use remote representation |
|
| 883 | } |
|
| 884 | else |
|
| 885 | { |
|
| 886 | if ($this->log) |
|
| 887 | { |
|
| 888 | error_log(__FILE__.'['.__LINE__.'] '.__METHOD__. |
|
| 889 | "($_id, $recur_date) Unsupported status only exception, skipped ...\n", |
|
| 890 | 3, $this->logfile); |
|
| 891 | } |
|
| 892 | return false; // unsupported pseudo exception |
|
| 893 | } |
|
| 894 | /* |
|
| 895 | $time = new egw_time($master['start'], egw_time::$server_timezone); |
|
| 896 | $time->setTimezone(self::$tz_cache[$tzid]); |
|
| @@ 328-342 (lines=15) @@ | ||
| 325 | if (!isset($this->supportedFields['participants'])) |
|
| 326 | { |
|
| 327 | $days = $this->so->get_recurrence_exceptions($master, $tzid, 0, 0, 'tz_rrule'); |
|
| 328 | if (isset($days[$recurrence])) |
|
| 329 | { |
|
| 330 | $recurrence = $days[$recurrence]; // use remote representation |
|
| 331 | } |
|
| 332 | else |
|
| 333 | { |
|
| 334 | // We don't need status only exceptions |
|
| 335 | if ($this->log) |
|
| 336 | { |
|
| 337 | error_log(__FILE__.'['.__LINE__.'] '.__METHOD__. |
|
| 338 | "(, $recurrence) Gratuitous pseudo exception, skipped ...\n", |
|
| 339 | 3,$this->logfile); |
|
| 340 | } |
|
| 341 | continue; // unsupported status only exception |
|
| 342 | } |
|
| 343 | } |
|
| 344 | else |
|
| 345 | { |
|