mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	all your semi-colons are belongs to me
This commit is contained in:
		| @@ -208,7 +208,7 @@ adminController.plugins.get = function(req, res, next) { | ||||
| 		res.render('admin/extend/plugins' , { | ||||
| 			plugins: plugins | ||||
| 		}); | ||||
| 	}) | ||||
| 	}); | ||||
| }; | ||||
|  | ||||
| adminController.languages.get = function(req, res, next) { | ||||
| @@ -342,6 +342,6 @@ adminController.themes.get = function(req, res, next) { | ||||
| 			return next(); | ||||
| 		} | ||||
| 	}); | ||||
| } | ||||
| }; | ||||
|  | ||||
| module.exports = adminController; | ||||
|   | ||||
| @@ -43,7 +43,7 @@ module.exports = function(Meta) { | ||||
| 								// Minor adjustments for API output | ||||
| 								configObj.type = 'local'; | ||||
| 								if (configObj.screenshot) { | ||||
| 									configObj.screenshot_url = nconf.get('relative_path') + '/css/previews/' + configObj.id | ||||
| 									configObj.screenshot_url = nconf.get('relative_path') + '/css/previews/' + configObj.id; | ||||
| 								} else { | ||||
| 									configObj.screenshot_url = nconf.get('relative_path') + '/images/themes/default.png'; | ||||
| 								} | ||||
|   | ||||
| @@ -91,7 +91,7 @@ Sockets.init = function(server) { | ||||
| 			redisClient : client | ||||
| 		}); | ||||
| 	} else if (nconf.get('cluster')) { | ||||
| 		winston.warn('[socket.io] Clustering detected, you are advised to configure Redis as a websocket store.') | ||||
| 		winston.warn('[socket.io] Clustering detected, you are advised to configure Redis as a websocket store.'); | ||||
| 	} | ||||
|  | ||||
| 	io = socketioWildcard(SocketIO).listen(server, config); | ||||
|   | ||||
| @@ -200,7 +200,7 @@ SocketUser.uploadProfileImageFromUrl = function(socket, url, callback) { | ||||
| 			callback(err, image.url); | ||||
| 		}); | ||||
| 	}); | ||||
| } | ||||
| }; | ||||
|  | ||||
| SocketUser.follow = function(socket, data, callback) { | ||||
| 	if (!socket.uid || !data) { | ||||
|   | ||||
| @@ -49,5 +49,5 @@ module.exports = function(User) { | ||||
| 			async.apply(db.delete, 'loginAttempts:' + uid), | ||||
| 			async.apply(db.delete, 'lockout:' + uid) | ||||
| 		], callback); | ||||
| 	} | ||||
| 	}; | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user