function kaltura_notification_save in Kaltura 5
Same name and namespace in other branches
- 6.2 includes/kaltura.notification.inc \kaltura_notification_save()
- 6 includes/kaltura.notification.inc \kaltura_notification_save()
- 7.3 includes/kaltura.notification.inc \kaltura_notification_save()
- 7.2 includes/kaltura.notification.inc \kaltura_notification_save()
1 call to kaltura_notification_save()
- kaltura_notification_handler in includes/
kaltura.notification.inc
File
- includes/
kaltura.notification.inc, line 56
Code
function kaltura_notification_save($notification_id, $notification_data) {
$insert_query = 'INSERT INTO {kaltura_notifications} (notification_id, data, received_at) VALUES (%d, \'%s\', \'' . date('Y-m-d H:i:s') . '\')';
$result = db_query($insert_query, $notification_id, serialize($notification_data));
}