You are here

function kaltura_update_entry_thumbnail in Kaltura 7.2

Same name and namespace in other branches
  1. 5 includes/kaltura.notification.inc \kaltura_update_entry_thumbnail()
  2. 6.2 includes/kaltura.notification.inc \kaltura_update_entry_thumbnail()
  3. 6 includes/kaltura.notification.inc \kaltura_update_entry_thumbnail()
  4. 7.3 includes/kaltura.notification.inc \kaltura_update_entry_thumbnail()

Helper function to update the thumbnail url of an entry.

Parameters

$notification:

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

Code

function kaltura_update_entry_thumbnail($notification) {
  db_update('node_kaltura')
    ->fields(array(
    'kaltura_thumbnail_url' => $notification['thumbnail_url'],
  ))
    ->condition('kaltura_entryid', $notification['entry_id'])
    ->execute();
}