Node.js based forum software built for the modern web
chore: add in note at top of files ready for deletion in v4
Julian Lam54a08087cbae
diff --git a/src/socket.io/categories.js b/src/socket.io/categories.jsindex 934defaeac..016985935c 100644--- a/src/socket.io/categories.js+++ b/src/socket.io/categories.js@@ -1,5 +1,9 @@'use strict';+/**+ * v4 note — all socket.io methods here have been deprecated, and can be removed for v4+ */+const categories = require('../categories');const user = require('../user');const topics = require('../topics');diff --git a/src/socket.io/categories/search.js b/src/socket.io/categories/search.jsindex dbb355ce89..ee60d2b089 100644--- a/src/socket.io/categories/search.js+++ b/src/socket.io/categories/search.js@@ -1,5 +1,9 @@'use strict';+/**+ * v4 note — all socket.io methods here have been deprecated, and can be removed for v4+ */+const sockets = require('..');const api = require('../../api');