You are here

public static function Messaging_Store::queue_count in Messaging 6.4

Count queued messages

File

includes/messaging_store.class.inc, line 167
Database storage for the messaging framework

Class

Messaging_Store
Default storage and queueing system for Messaging

Code

public static function queue_count() {
  return db_result(self::select_query('COUNT(*)', array(
    'queue' => 1,
    'cron' => 1,
  )));
}