mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Clear ncenterlite cache data after deleting old notifications
This commit is contained in:
parent
c9d3645f10
commit
0dedc76107
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,9 @@ $output = executeQuery('ncenterlite.deleteNotifyAll', $args);
|
|||
if ($output->toBool())
|
||||
{
|
||||
echo "Successfully deleted all notifications older than $days days.\n";
|
||||
$delete_obj = (object)array('regdate' => time());
|
||||
Rhymix\Framework\Cache::clearGroup('ncenterlite');
|
||||
Rhymix\Framework\Storage::writePHPData(\RX_BASEDIR . 'files/cache/ncenterlite/new_notify/delete_date.php', $delete_obj);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue