You are here

function KalturaHelpers::__construct in Kaltura 7.2

Same name and namespace in other branches
  1. 7.3 kaltura_client/kaltura_helpers.php \KalturaHelpers::__construct()

File

kaltura_client/kaltura_helpers.php, line 10

Class

KalturaHelpers
functions edited getSessionUser

Code

function __construct() {
  if (function_exists('libraries_load')) {
    libraries_load('KalturaClient');
  }
  else {
    $status_report = l("Status report", 'admin/reports/status');
    drupal_set_message(t("Kaltura module now requires Libraries module to be installed and enabled. Please follow instructions listed on the {$status_report} page."), 'error');
  }
}