You are here

function bueditor_enable in BUEditor 6.2

Implementation of hook_enable()

File

./bueditor.install, line 20
Installs, updates, and uninstalls BUEditor.

Code

function bueditor_enable() {

  //workaround for #200931
  if (isset($GLOBALS['bueditor_just_installed'])) {
    drupal_get_schema(NULL, TRUE);
    module_load_include('inc', 'bueditor', 'admin/bueditor.admin');
    bueditor_import_all();
  }
}