Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePulverenti committed Nov 12, 2017
1 parent 38303af commit 07d0c0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 58 deletions.
2 changes: 1 addition & 1 deletion connectionmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
return connectUser;
};

self._minServerVersion = '3.2.27';
self._minServerVersion = '3.2.28';

self.appVersion = function () {
return appVersion;
Expand Down
57 changes: 0 additions & 57 deletions sync/mediasync.js
Original file line number Diff line number Diff line change
Expand Up @@ -654,61 +654,4 @@
});
};
};

//function syncUserItemAccess(syncDataResult, serverId) {
// console.log('[mediasync] Begin syncUserItemAccess');

// var itemIds = [];
// for (var id in syncDataResult.ItemUserAccess) {
// itemIds.push(id);
// }

// return syncNextUserAccessForItem(itemIds, 0, syncDataResult, serverId);
//}

//function syncNextUserAccessForItem(itemIds, index, syncDataResult, serverId) {

// var length = itemIds.length;

// if (index >= length) {

// return Promise.resolve
// return;
// }

// syncUserAccessForItem(itemIds[index], syncDataResult).then(function () {

// syncNextUserAccessForItem(itemIds, index + 1, syncDataResult, serverId, deferred);
// }, function () {
// syncNextUserAccessForItem(itemIds, index + 1, syncDataResult, serverId, deferred);
// });
//}

//function syncUserAccessForItem(itemId, syncDataResult) {
// console.log('[mediasync] Begin syncUserAccessForItem');

// var deferred = DeferredBuilder.Deferred();

// localassetmanager.getUserIdsWithAccess(itemId, serverId).then(function (savedUserIdsWithAccess) {

// var userIdsWithAccess = syncDataResult.ItemUserAccess[itemId];

// if (userIdsWithAccess.join(',') === savedUserIdsWithAccess.join(',')) {
// // Hasn't changed, nothing to do
// deferred.resolve();
// }
// else {

// localassetmanager.saveUserIdsWithAccess(itemId, serverId, userIdsWithAccess).then(function () {
// deferred.resolve();
// }, getOnFail(deferred));
// }

// }, getOnFail(deferred));

// return deferred.promise();
//}

//}

});

0 comments on commit 07d0c0e

Please sign in to comment.