You are here

function kaltura_notify_blocked in Kaltura 7.2

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

Helper function to block notification.

Parameters

$notification:

1 call to kaltura_notify_blocked()
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 165
Contains functions for handling all notifications from kaltura.

Code

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