mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
removing extraneous lines
Not sure about translations yet...
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user