public static function Messaging_Store::queue_clean in Messaging 6.4
Queue clean up
- Remove expired logs (include errors)
- Remove expired queued messages
File
- includes/
messaging_store.class.inc, line 158 - Database storage for the messaging framework
Class
- Messaging_Store
- Default storage and queueing system for Messaging
Code
public static function queue_clean() {
$count = self::queue_expire_messages();
$count += self::queue_expire_logs(TRUE);
return $count;
}