mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Do not use var_isset and fix if-then-else-codestyle
This commit is contained in:
@ -12,11 +12,6 @@
|
||||
* @copyright (C) 2013 LibreNMS Group
|
||||
*/
|
||||
|
||||
function var_isset($v) {
|
||||
global $vars;
|
||||
return isset($vars[$v]);
|
||||
}
|
||||
|
||||
function var_eq($v, $t) {
|
||||
global $vars;
|
||||
if (isset($vars[$v]) && $vars[$v] == $t) {
|
||||
|
Reference in New Issue
Block a user