forked from extern/egroupware
removed the alarm fields when searching events
This commit is contained in:
parent
109f0e93a8
commit
05fdfe28e5
@ -229,7 +229,7 @@
|
|||||||
unset($event['end']);
|
unset($event['end']);
|
||||||
|
|
||||||
foreach($event as $key => $value) {
|
foreach($event as $key => $value) {
|
||||||
if (substr($key,0,6) != 'recur_') {
|
if (substr($key,0,6) != 'recur_' && substr($key,0,5) != 'alarm') {
|
||||||
$search['query']['cal_'.$key] = $value;
|
$search['query']['cal_'.$key] = $value;
|
||||||
} else {
|
} else {
|
||||||
#$search['query'][$key] = $value;
|
#$search['query'][$key] = $value;
|
||||||
@ -286,7 +286,6 @@
|
|||||||
$alarmData['offset'] = $alarm*60;
|
$alarmData['offset'] = $alarm*60;
|
||||||
$alarmData['all'] = 1;
|
$alarmData['all'] = 1;
|
||||||
$alarmData['owner'] = $GLOBALS['egw_info']['user']['account_id'];
|
$alarmData['owner'] = $GLOBALS['egw_info']['user']['account_id'];
|
||||||
error_log(print_r($alarm, true));
|
|
||||||
$this->save_alarm($eventID, $alarmData);
|
$this->save_alarm($eventID, $alarmData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user