Update atime when updating the owners of a pad

pull/1/head
yflory 5 years ago
parent f8bc5343d5
commit 0a5bf7a5c2

@ -1212,6 +1212,7 @@ define([
allData.forEach(function (obj) { allData.forEach(function (obj) {
obj.data.owners = metadata.owners; obj.data.owners = metadata.owners;
if (metadata.expire) { if (metadata.expire) {
obj.data.atime = +new Date();
obj.data.expire = +metadata.expire; obj.data.expire = +metadata.expire;
} }
}); });

Loading…
Cancel
Save