You are here

function kaltura_playlist_uninstall in Kaltura 5

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

Implementation of hook_uninstall().

File

plugins/kaltura_playlist/kaltura_playlist.install, line 97

Code

function kaltura_playlist_uninstall() {

  // Remove tables.
  $tables = kaltura_playlist_tables();
  foreach ($tables as $table_name => $create_sql) {
    db_query('DROP TABLE {' . $table_name . '}');
  }
}