function RemoveOldModifications() { global $database; $m = new Modification($database); $m->Delete('Timestamp < ' . strtotime("-7 days")); }