calendar/inc/class.calendar_uiforms.inc.php 1 location
|
@@ 673-678 (lines=6) @@
|
| 670 |
|
$rrule = calendar_rrule::event2rrule($recur_event, true); |
| 671 |
|
foreach ($rrule as $time) |
| 672 |
|
{ |
| 673 |
|
if ($content['edit_single'] < $time->format('ts')) |
| 674 |
|
{ |
| 675 |
|
$alarm['time'] = $time->format('ts') - $alarm['offset']; |
| 676 |
|
$this->bo->save_alarm($event['reference'], $alarm); |
| 677 |
|
break; |
| 678 |
|
} |
| 679 |
|
} |
| 680 |
|
} |
| 681 |
|
} |
calendar/inc/class.calendar_boupdate.inc.php 1 location
|
@@ 2030-2034 (lines=5) @@
|
| 2027 |
|
{ |
| 2028 |
|
calendar_so::shift_alarm($event, $alarm, $instance_date->format('ts')); |
| 2029 |
|
} |
| 2030 |
|
else if ($alarm['time'] !== $time->format('ts') - $alarm['offset']) |
| 2031 |
|
{ |
| 2032 |
|
$alarm['time'] = $time->format('ts') - $alarm['offset']; |
| 2033 |
|
$this->save_alarm($event['id'], $alarm); |
| 2034 |
|
} |
| 2035 |
|
} |
| 2036 |
|
} |
| 2037 |
|
|