function kaltura_notification_received in Kaltura 6
Same name and namespace in other branches
- 5 includes/kaltura.notification.inc \kaltura_notification_received()
- 6.2 includes/kaltura.notification.inc \kaltura_notification_received()
- 7.3 includes/kaltura.notification.inc \kaltura_notification_received()
- 7.2 includes/kaltura.notification.inc \kaltura_notification_received()
1 call to kaltura_notification_received()
- kaltura_notification_handler in includes/
kaltura.notification.inc
File
- includes/
kaltura.notification.inc, line 64
Code
function kaltura_notification_received($notification_id) {
$query = 'SELECT COUNT(notification_id) c FROM {kaltura_notifications} WHERE notification_id = %d';
$result = db_query($query, $notification_id);
$count_obj = db_fetch_object($result);
return $count_obj->c;
}