change lockdown to happend after two months (#33960)

This commit is contained in:
Frédéric Péters 2019-07-16 16:27:53 +02:00
parent b7767e97ab
commit 7a0411fb8b
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ $(function() {
var last_activity_url = $('#history a[href*=activity]').last().attr('href');
var date = new Date(last_activity_url.split('=')[1]);
var today = new Date();
if (today - date > (20 * 86400*1000)) { /* older than 20 days */
if (today - date > (60 * 86400*1000)) { /* older than 60 days */
$('div#content > div.contextual .icon-edit').hide();
}
}