Commit b406098d authored by Franco Fichtner's avatar Franco Fichtner

www: remove dead code

parent 5d238412
......@@ -581,20 +581,9 @@ function get_menu_messages()
global $config;
$menu_messages = '';
if (are_notices_pending()) {
$notices = get_notices();
$requests = array();
## Get Query Arguments from URL ###
foreach ($_REQUEST as $key => $value) {
if ($key != "PHPSESSID") {
$requests[] = $key.'='.$value;
}
}
if (is_array($requests)) {
$request_string = implode("&", $requests);
}
if (is_array($notices)) {
$notice_msgs = "<ul class=\"dropdown-menu\" role=\"menu\">";
......@@ -627,5 +616,5 @@ function get_menu_messages()
);
}
return ($menu_messages);
return $menu_messages;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment