You are here

function course_outline_overview_form_reset in Course 7

Same name and namespace in other branches
  1. 6 includes/course.outline.inc \course_outline_overview_form_reset()
  2. 7.2 includes/course.outline.inc \course_outline_overview_form_reset()

Submit handler for resetting a Course back to stored defaults.

1 string reference to 'course_outline_overview_form_reset'
course_outline_overview_form in includes/course.outline.inc
Form constructor for course outline form.

File

includes/course.outline.inc, line 213
course_outline.inc

Code

function course_outline_overview_form_reset(&$form, &$form_state) {
  unset($_SESSION['course'][$form['nid']['#value']]['editing']);
}