function course_outline_overview_form_reset in Course 6
Same name and namespace in other branches
- 7.2 includes/course.outline.inc \course_outline_overview_form_reset()
- 7 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 204 - course_outline.inc
Code
function course_outline_overview_form_reset(&$form, &$form_state) {
unset($_SESSION['course'][$form['nid']['#value']]['editing']);
}