mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Possible fix for #5318, if delete_device called in webui then continue to run * derp
This commit is contained in:
@ -316,6 +316,12 @@ function renamehost($id, $new, $source = 'console')
|
||||
function delete_device($id)
|
||||
{
|
||||
global $config, $debug;
|
||||
|
||||
if (isCli() === false) {
|
||||
ignore_user_abort(true);
|
||||
set_time_limit(0);
|
||||
}
|
||||
|
||||
$ret = '';
|
||||
|
||||
$host = dbFetchCell("SELECT hostname FROM devices WHERE device_id = ?", array($id));
|
||||
|
Reference in New Issue
Block a user