2014-05-04 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/planned_downtime.list.php: Fixed unexpected agent deletion that is not associated with the planned downtime which is deleted. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5602de31ba
commit
2a6454989c
|
@ -1,3 +1,9 @@
|
|||
2014-05-04 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* godmode/agentes/planned_downtime.list.php: Fixed unexpected agent
|
||||
deletion that is not associated with the planned downtime which is
|
||||
deleted.
|
||||
|
||||
2014-04-29 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* include/ajax/module.php: Add function to get
|
||||
|
|
|
@ -172,9 +172,7 @@ if ($stop_downtime) {
|
|||
if ($delete_downtime) {
|
||||
$result = db_process_sql_delete('tplanned_downtime', array('id' => $id_downtime));
|
||||
|
||||
$result2 = db_process_sql_delete('tplanned_downtime_agents', array('id' => $id_downtime));
|
||||
|
||||
if (($result === false) OR ($result2 === false)) {
|
||||
if ($result === false) {
|
||||
ui_print_error_message(__('Not deleted. Error deleting data'));
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue