2013-03-11 Miguel de Dios <miguel.dedios@artica.es>

* godmode/agentes/planned_downtime.list.php: fixed the lost data
	from planned downtime, show in the table of audits.
	
	Fixes: #3607608




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-03-11 14:28:12 +00:00
parent 6039638480
commit 30463a2268
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2013-03-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.list.php: fixed the lost data
from planned downtime, show in the table of audits.
Fixes: #3607608
2013-03-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_tags.php: fixed the function

View File

@ -67,9 +67,12 @@ if ($stop_downtime) {
if ($result) {
events_create_event ("Manual stop downtime ".
$downtime['name'] . "(" . $downtime['id'] . ") by " .
$downtime['name'] . " (" . $downtime['id'] . ") by " .
$config['id_user'], 0, 0, EVENT_STATUS_NEW, $config["id_user"],
"system", 1);
db_pandora_audit("Planned Downtime management",
"Manual stop downtime " . $downtime['name'] . " (ID " . $downtime['id'] . ")",
false, true);
//Reenabled the Agents or Modules or alerts...depends of type
$downtime = db_get_row('tplanned_downtime', 'id', $id_downtime);