hasGlobalAdmin()) { require 'includes/html/error-no-perm.inc.php'; exit; } $pagetitle[] = "Delete device"; if (LegacyAuth::user()->isDemoUser()) { demo_account(); } else { if (is_numeric($_REQUEST['id'])) { echo('
Warning, this will remove the device from being monitered!
It will also remove historical data about this device such as Syslog, Eventlog and Alert log data.