You are here

function fckeditor_uninstall in FCKeditor - WYSIWYG HTML editor 5.2

Same name and namespace in other branches
  1. 6.2 fckeditor.install \fckeditor_uninstall()
  2. 6 fckeditor.install \fckeditor_uninstall()

Implementation of hook_uninstall()

File

./fckeditor.install, line 375

Code

function fckeditor_uninstall() {
  db_query('DROP TABLE {fckeditor_settings}');
  db_query('DROP TABLE {fckeditor_role}');

  // Clean up variables left by 5.x-1.x
  variable_del('fckeditor_popup');
  variable_del('fckeditor_default_toolbar');
  variable_del('fckeditor_advanced_toolbar');
  variable_del('fckeditor_minimum_rows');
  variable_del('fckeditor_toolbar_start_expanded');
  variable_del('fckeditor_exclude_toggle');
  variable_del('fckeditor_exclude');
  variable_del('fckeditor_width');
  variable_del('fckeditor_stylesheet');
  variable_del('fckeditor_upload_basic');
  variable_del('fckeditor_upload_advanced');
}