change order, change name

master
Bryan Heden 4 years ago
parent acb6c91ccd
commit 8025e49954

@ -0,0 +1,12 @@
# 0.0.1
> 08 Aug 2021
* Change name of report to "Plugin Timed Out"
* Change order of report
# 0.0.0
> 31 Jul 2021
* Initial version

@ -17,8 +17,8 @@ function report_svc_status_lookup_init()
COMPONENT_AUTHOR => "hedenface",
COMPONENT_DESCRIPTION => $desc,
COMPONENT_TITLE => "Services Non-OK Report",
COMPONENT_VERSION => "0.0.0",
COMPONENT_DATE => "31/07/2021",
COMPONENT_VERSION => "0.0.1",
COMPONENT_DATE => "08/08/2021",
)
);
@ -52,14 +52,14 @@ function report_svc_status_lookup_component_addmenu()
}
$order = grab_array_var($menu_section, "order", "");
$new_order = $order + 0.1;
$new_order = $order + 0.3;
if ($new_order < 0) {
return false;
}
add_menu_item(MENU_REPORTS, array(
"type" => "link",
"title" => "Service Status Lookup",
"title" => "Plugin Timed Out",
"id" => "menu-report-svc-lookup",
"order" => $new_order,
"opts" => array(

Loading…
Cancel
Save