diff --git a/public/src/translator.js b/public/src/translator.js index 645faa378d..17d0cb030d 100644 --- a/public/src/translator.js +++ b/public/src/translator.js @@ -80,16 +80,12 @@ * TODO: DRY, see translator.translate. The hard part is to make sure both work node.js / js side */ translator.get = function (key, callback) { - //console.log(files.loaded); var parsedKey = key.split(':'), languageFile = parsedKey[0]; parsedKey = parsedKey[1]; - console.log(parsedKey); translator.load(languageFile, function (languageData) { - console.log(languageData[parsedKey]); if (callback) { - console.log('herped'); callback(languageData[parsedKey]); } diff --git a/src/favourites.js b/src/favourites.js index 2ceedeb637..d104654469 100644 --- a/src/favourites.js +++ b/src/favourites.js @@ -56,13 +56,6 @@ var RDB = require('./redis.js'), Favourites.unfavourite = function (pid, room_id, uid, socket) { if (uid === 0) { - socket.emit('event:alert', { - alert_id: 'post_favourite', - title: 'Not Logged In', - message: 'Please log in in order to favourite this post', - type: 'danger', - timeout: 5000 - }); return; }