mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Add service add/remove pages
git-svn-id: http://www.observium.org/svn/observer/trunk@26 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?
|
||||
|
||||
$updated = '1';
|
||||
|
||||
$sql = "DELETE FROM `services` WHERE service_id = '" . $_POST['service']. "'";
|
||||
|
||||
$query = mysql_query($sql);
|
||||
$rows = mysql_affected_rows();
|
||||
$affected = $rows . " records affected";
|
||||
|
||||
$message .= $message_break . $rows . " service deleted!";
|
||||
$message_break .= "<br />"
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user