mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
getting rid of this one for good
This commit is contained in:
@@ -159,14 +159,6 @@ var socket,
|
|||||||
|
|
||||||
app.enterRoom('global');
|
app.enterRoom('global');
|
||||||
|
|
||||||
// if (config.environment === 'development' && console && console.log) {
|
|
||||||
// var log = console.log;
|
|
||||||
// console.log = function() {
|
|
||||||
// log.apply(this, arguments);
|
|
||||||
// socket.emit('tools.log', arguments);
|
|
||||||
// };
|
|
||||||
// }
|
|
||||||
|
|
||||||
app.cacheBuster = config['cache-buster'];
|
app.cacheBuster = config['cache-buster'];
|
||||||
|
|
||||||
bootbox.setDefaults({
|
bootbox.setDefaults({
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
var winston = require('winston');
|
|
||||||
|
|
||||||
var SocketTools = {};
|
|
||||||
|
|
||||||
SocketTools.log = function(socket, data, callback) {
|
|
||||||
//winston.info("captured console.log:", data)
|
|
||||||
};
|
|
||||||
|
|
||||||
module.exports = SocketTools;
|
|
||||||
Reference in New Issue
Block a user