2012-04-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Setted last_reference database field to actual utimestamp when create an alert to avoid unecessary charge on server git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
eff00638ed
commit
e0ae525140
|
@ -1,3 +1,9 @@
|
|||
2012-04-20 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_alerts.php: Setted last_reference database
|
||||
field to actual utimestamp when create an alert to avoid
|
||||
unecessary charge on server
|
||||
|
||||
2012-04-20 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/help/en/help_network_map.php
|
||||
|
|
|
@ -814,6 +814,7 @@ function alerts_create_alert_agent_module ($id_agent_module, $id_alert_template,
|
|||
$values = array ();
|
||||
$values['id_agent_module'] = (int) $id_agent_module;
|
||||
$values['id_alert_template'] = (int) $id_alert_template;
|
||||
$values['last_reference'] = time();
|
||||
|
||||
return @db_process_sql_insert ('talert_template_modules', $values);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue