mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 17:49:58 -06:00
Refactor:Remove unused global var in JS
This commit is contained in:
@@ -13,8 +13,7 @@ Shadowbox.init({skipSetup:true});
|
||||
context.init();
|
||||
|
||||
// Legacy code. No longer used in webGUI, and its purpose is removed, but plugins might still reference this prototype and its a fatal error to remove it.
|
||||
var subscribers = [];
|
||||
NchanSubscriber.prototype.monitor = function(){subscribers.push(this);}
|
||||
NchanSubscriber.prototype.monitor = function(){return null;}
|
||||
|
||||
|
||||
// server uptime
|
||||
|
||||
Reference in New Issue
Block a user