You are here

function office_hours_update_7100 in Office Hours 7

Change value of 'day' column from 0-13 range to normal 0-6 day range.

This allows for more then 2 hours blocks per day.

File

./office_hours.install, line 42
Install, update and uninstall functions for the Office hours module.

Code

function office_hours_update_7100() {

  // Avoid problems when updating from 1.0 / 1.1 to 1.6.
  // Do the db_add_field('comment') first.
  office_hours_update_7102();

  // Now do the update to 1.2
  _office_hours_update_7100_daynum();
}