mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-31 16:23:50 +02:00
Minor fixes, some cleanups, and standardising on echo("x") instead of echo "x"
git-svn-id: http://www.observium.org/svn/observer/trunk@1728 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -5,10 +5,8 @@ if($_SESSION['userlevel'] < 10) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if($_POST['id']) {
|
||||
echo delete_device(mres($_POST['id']));
|
||||
} elseif ($_GET['id']) {
|
||||
echo delete_device(mres($_GET['id']));
|
||||
if($_REQUEST['id']) {
|
||||
echo(delete_device(mres($_REQUEST['id'])));
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user