You are here

function course_update_6129 in Course 7.2

Same name and namespace in other branches
  1. 6 course.install \course_update_6129()
  2. 7 course.install \course_update_6129()

Remove old attendance column. Using course objects now.

File

./course.install, line 723
course.install Install and update functions for Courses.

Code

function course_update_6129() {
  $ret = array();
  $ret = db_drop_field('course_node', 'attendance');

  // hook_update_N() no longer returns a $ret array. Instead, return
  // nothing or a translated string indicating the update ran successfully.
  // See http://drupal.org/node/224333#update_sql.
  return t('TODO Add a descriptive string here to show in the UI.');
}