You are here

function kaltura_notification_save in Kaltura 6

Same name and namespace in other branches
  1. 5 includes/kaltura.notification.inc \kaltura_notification_save()
  2. 6.2 includes/kaltura.notification.inc \kaltura_notification_save()
  3. 7.3 includes/kaltura.notification.inc \kaltura_notification_save()
  4. 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));
}