Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
removing dead code and correcting style
Browse files Browse the repository at this point in the history
  • Loading branch information
sc979 committed Apr 10, 2019
1 parent 7366836 commit 74956c0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
$firstTpl = 0;
} else {
$tplStr .= "&nbsp;|&nbsp;<a href='" . $WikiURL .
"/index.php?title=Host:" . $value1 ."' target='_blank'>" . $value1 . "</a>";
"/index.php?title=Host:" . $value1 . "' target='_blank'>" . $value1 . "</a>";
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@
$limit = $centreon->optGen["maxViewConfiguration"];
}

/*
if (isset($_POST['num']) && $_POST['num'] == 0) {
$_GET['num'] = 0;
}*/

if (isset($_POST['searchHost'])) {
if (!isset($_POST['searchHasNoProcedure']) && isset($_GET['searchHasNoProcedure'])) {
unset($_REQUEST['searchHasNoProcedure']);
Expand Down
2 changes: 0 additions & 2 deletions www/include/configuration/configKnowledge/pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
$type = $_REQUEST["type"] ?? null;
$o = $_GET["o"] ?? null;

$searchString = "";

//saving current pagination filter value and current displayed page
$centreon->historyPage[$url] = $num;
$centreon->historyLastUrl = $url;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,6 @@
<input type='hidden' id='num' name='num' value='0'>
<input type='hidden' id='orderby' name='orderby' value='{$orderby}'>
<input type='hidden' id='order' name='order' value='{$order}'>
<!--input type='hidden' id='host' name='host' value='{$host}'>
<input type='hidden' id='hostgroup' name='hostgroup' value='{$hostgroup}'>
<input type='hidden' id='poller' name='poller' value='{$poller}'-->
</form>

{literal}
Expand Down

0 comments on commit 74956c0

Please sign in to comment.