removing extraneous lines

Not sure about translations yet...
This commit is contained in:
Aaron Morris
2015-03-02 21:00:50 -05:00
parent b484dd3208
commit ec15f239c6

View File

@@ -75,9 +75,6 @@ angular.module('habitrpg')
$http.post(ApiUrl.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) {
//alert("Updating " + JSON.stringify(sent));
//alert("Response was " + status);
//user.party.
//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.
if (!queue.length) {
//we can't do user=data as it will not update user references in all other angular controllers.