From c301bd3e89e4fb0b02bc62b5b16356cf327f46c0 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Fri, 16 Jan 2015 17:46:47 +0100 Subject: [PATCH] fix(console): remove console.log --- script/userServices.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/script/userServices.js b/script/userServices.js index e912e7c852..237b283478 100644 --- a/script/userServices.js +++ b/script/userServices.js @@ -71,8 +71,6 @@ angular.module('userServices', []) $http.post(ApiUrlService.get() + '/api/v2/user/batch-update', sent, {params: {data:+new Date, _v:user._v, siteVersion: $window.env && $window.env.siteVersion}}) .success(function (data, status, heacreatingders, config) { //make sure there are no pending actions to sync. If there are any it is not safe to apply model from server as we may overwrite user data. - console.log(data); - if (!queue.length) { //we can't do user=data as it will not update user references in all other angular controllers.