You are here

function filelog_ui_enable in File Log 6.2

Implementation of hook_enable().

File

./filelog_ui.install, line 119

Code

function filelog_ui_enable() {
  batch_set(array(
    'title' => t('Importing log entries'),
    'operations' => array(
      array(
        'filelog_ui_import_entries',
        array(),
      ),
      array(
        'cache_clear_all',
        array(
          'filelog_type_registry',
          'cache',
          FALSE,
        ),
      ),
    ),
    'file' => drupal_get_path('module', 'filelog_ui') . '/filelog_ui.admin.inc',
  ));
}