You are here

function kaltura_notify_delete in Kaltura 7.2

Same name and namespace in other branches
  1. 7.3 includes/kaltura.notification.inc \kaltura_notify_delete()

Helper function to delete notification.

Parameters

$notification:

1 call to kaltura_notify_delete()
kaltura_forward_notification in includes/kaltura.notification.inc
Checks the notification type and forwards the notification to the appropriate function.

File

includes/kaltura.notification.inc, line 153
Contains functions for handling all notifications from kaltura.

Code

function kaltura_notify_delete($notification) {
  db_update('node_kaltura')
    ->fields(array(
    'kstatus' => 3,
  ))
    ->condition('kaltura_entryid', $notification['entry_id'])
    ->execute();
}