removed console.logs

v1.18.x
Baris Usakli 12 years ago
parent 2e184c6211
commit 9d5f6364ad

@ -36,6 +36,7 @@ var socket,
$('#disconnect-modal').show();
$('#reload-button').on('click',function(){
$('#disconnect-modal').hide();
console.log(window.location.href);
window.location.reload();
});
});

@ -101,8 +101,6 @@ var user = require('./../user.js'),
var allowedTypes = ['image/png', 'image/jpeg', 'image/jpg', 'image/gif'];
var type = req.files.userPhoto.type;
console.log(req.files.userPhoto);
if(allowedTypes.indexOf(type) === -1) {
res.send({
error: 'Allowed image types are png, jpg and gif!'
@ -284,9 +282,9 @@ var user = require('./../user.js'),
user.getUserData(uid, function(data) {
if(data) {
console.log(data.joindate);
data.joindate = utils.relativeTime(data.joindate);
console.log(data.joindate);
if(!data.birthday)
data.age = '';
else

@ -80,7 +80,7 @@ var config = require('../config.js'),
for(var i=0,ii=fields.length; i<ii; ++i) {
key = fields[i];
if(data[key] !== undefined) {
console.log(data[key]);
User.setUserField(uid, key, data[key]);
if(key === 'email') {

Loading…
Cancel
Save