Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.
/course/ -> reset.php (source)

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]

The purpose of this feature is to quickly remove all user related data from a course in order to make it available for a new semester.  This feature can handle the removal of general course data like students, teachers, logs, events and groups as well as module specific data.  Each module must be modified to take advantage of this new feature. The feature will also reset the start date of the course if necessary.

File Size: 108 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 course/reset_form.php