Skip to content

Commit

Permalink
! Similarly, old notification pruning was using an undefined function…
Browse files Browse the repository at this point in the history
…, and that wasn't logged normally. (Notifications.php)
  • Loading branch information
Nao committed Apr 30, 2017
1 parent f52ad02 commit 10494ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/app/Notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,8 @@ public static function scheduled_prune()
'time' => time() - ($settings['notifications_prune_days'] * 86400),
)
);

loadSource('Class-DBHelper');
wedb::optimize_table('{db_prefix}notifications');
}

Expand Down

0 comments on commit 10494ab

Please sign in to comment.