You are here

function rotor_install in Rotor Banner 7

Same name and namespace in other branches
  1. 5.7 rotor.install \rotor_install()
  2. 5 rotor.install \rotor_install()
  3. 6.2 rotor.install \rotor_install()
  4. 6 rotor.install \rotor_install()

Implementation of hook_install().

File

./rotor.install, line 13
Provides install and uninstall functions for rotor.

Code

function rotor_install() {
  module_enable(array(
    'jquery_plugin',
  ));
  module_enable(array(
    'upload_element',
  ));
  drupal_install_schema('rotor');
  db_query("DELETE FROM {cache_views}");
  drupal_set_message(t('Rotor Banner installed'));
}