You are here

function kaltura_install in Kaltura 5

Same name and namespace in other branches
  1. 6.2 kaltura.install \kaltura_install()
  2. 6 kaltura.install \kaltura_install()
  3. 7.3 kaltura.install \kaltura_install()
  4. 7.2 kaltura.install \kaltura_install()

Implementation of hook_install().

File

./kaltura.install, line 230

Code

function kaltura_install() {
  global $_kaltura_client_folder;
  require_once $_kaltura_client_folder . 'kaltura_settings.php';
  $tables = kaltura_tables();
  foreach ($tables as $table_name => $create_sql) {
    db_query($create_sql);
  }
  drupal_set_message('<b>To ' . l('complete installation', 'admin/settings/kaltura/general') . ' of the Kaltura All in One Video Module installation, ' . 'you must ' . l('get a Partner ID', 'admin/settings/kaltura/general') . '.</b>');
}