diff options
Diffstat (limited to 'modules-available/locationinfo')
-rw-r--r-- | modules-available/locationinfo/hooks/cron.inc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules-available/locationinfo/hooks/cron.inc.php b/modules-available/locationinfo/hooks/cron.inc.php new file mode 100644 index 00000000..24d4c466 --- /dev/null +++ b/modules-available/locationinfo/hooks/cron.inc.php @@ -0,0 +1,5 @@ +<?php + +$cutoff = time() - 86400 * 30; +Database::exec('DELETE FROM locationinfo_backendlog WHERE dateline < :cutoff', + compact('cutoff'));
\ No newline at end of file |