Update atime when updating the owners of a pad
This commit is contained in:
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…
x
Reference in New Issue
Block a user