You are here

function calendar_ical_install in Calendar 7.2

Same name and namespace in other branches
  1. 5.2 calendar_ical.install \calendar_ical_install()
  2. 5 calendar_ical.install \calendar_ical_install()
  3. 6.2 calendar_ical/calendar_ical.install \calendar_ical_install()
  4. 7 calendar_ical/calendar_ical.install \calendar_ical_install()

Implementation of hook_install().

File

calendar_ical/calendar_ical.install, line 12
Install, update and uninstall functions for the calendar_ical module.

Code

function calendar_ical_install() {
  db_update('system')
    ->fields(array(
    'weight' => 1,
  ))
    ->condition('name', 'calendar_ical')
    ->execute();
}