update XXX comments which are no longer valid or can wait

This commit is contained in:
ansuz 2019-09-10 10:29:08 +02:00
parent 2bd8c2d363
commit 532ba9b9fd
2 changed files with 1 additions and 13 deletions

View File

@ -251,8 +251,7 @@ nThen(function (w) {
return void console.error(err);
}
// XXX validate that the write was actually successful by checking its size
// TODO validate that the write was actually successful by checking its size
response = response;
// shutdown doesn't work, so we need to do this instead
}));

View File

@ -1790,17 +1790,6 @@ define([
// If we don't check now, Listmap will create an empty proxy if it no longer exists on
// the server.
nThen(function (waitFor) {
//var edPublic = store.proxy.edPublic;
/*var checkExpired = Object.keys(shared).filter(function (fId) {
var d = shared[fId];
return (Array.isArray(d.owners) && d.owners.length &&
(!edPublic || d.owners.indexOf(edPublic) === -1))
|| (d.expire && d.expire < (+new Date()));
}).map(function (fId) {
return shared[fId].channel;
});*/
// XXX test: we probably shouldn't filter shared folder anymore here because
// the owner or the expiration time can change, so they can all be deleted
var checkExpired = Object.keys(shared).map(function (fId) {
return shared[fId].channel;
});