You are here

function kaltura_playlist_install in Kaltura 5

Same name and namespace in other branches
  1. 6.2 plugins/kaltura_playlist/kaltura_playlist.install \kaltura_playlist_install()
  2. 6 plugins/kaltura_playlist/kaltura_playlist.install \kaltura_playlist_install()

Implementation of hook_install().

File

plugins/kaltura_playlist/kaltura_playlist.install, line 60

Code

function kaltura_playlist_install() {
  $tables = kaltura_playlist_tables();
  foreach ($tables as $table_name => $create_sql) {
    db_query($create_sql);
  }
  if (module_exists('views')) {
    kaltura_populate_nodes();
  }
}