forked from extern/egroupware
removed the alarm fields when searching events
This commit is contained in:
parent
076711adbf
commit
9dea981ec9
@ -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