You are here

function kaltura_notify_delete in Kaltura 7.3

Same name and namespace in other branches
  1. 7.2 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 150
Contains functions for handling all notifications from kaltura.

Code

function kaltura_notify_delete($notification) {
  $entity = kaltura_entry_load($notification['entry_id']);
  $entity->kstatus = 3;
  kaltura_entry_save($entity);
}