Refactor:Remove unused global var in JS

This commit is contained in:
Squidly271
2025-08-12 23:21:55 -04:00
parent c5d984d270
commit 021afafa41
2 changed files with 3 additions and 5 deletions

View File

@@ -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