mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
message MDL-24879 removed commented out code
This commit is contained in:
parent
212badff4d
commit
7868480ab3
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ function cron_run() {
|
|||
mtrace ('Built context paths');
|
||||
|
||||
if (!empty($CFG->messagingdeletereadnotificationsdelay)) {
|
||||
$notificationdeletetime = time() - $CFG->messagingdeletereadnotificationsdelay; //604800; //1 week ago
|
||||
$notificationdeletetime = time() - $CFG->messagingdeletereadnotificationsdelay;
|
||||
$DB->delete_records_select('message_read', 'notification=1 AND timeread<:notificationdeletetime', array('notificationdeletetime'=>$notificationdeletetime));
|
||||
mtrace('Cleaned up read notifications');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue