mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
git-svn-id: http://www.observium.org/svn/observer/trunk@54 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
<?php
|
||||
|
||||
if($_GET['ignore']) { mysql_query("UPDATE devices SET `ignore` = '1' WHERE `id` = '$_GET[ignore]'"); }
|
||||
if($_GET['unignore']) { mysql_query("UPDATE devices SET `ignore` = '0' WHERE `id` = '$_GET[unignore]'"); }
|
||||
|
||||
if($_GET['location']) { $where = "AND location = '$_GET[location]'"; }
|
||||
if($_GET['location'] == "Unset") { $where = "AND location = ''"; }
|
||||
if($_GET['type']) { $where = "AND type = '$_GET[type]'"; }
|
||||
|
||||
Reference in New Issue
Block a user