Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-44043

Enrolment not yet started and enrolment already over notification not helpful

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Deferred
    • 2.4.8, 2.5.4, 2.6.1
    • None
    • Enrolments
    • None
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE

    Description

      In a course which has an enrolment start date set and/or an enrolment end date, the error notification (incase the enrolment is currently not possible), which the students get incase the enrolment is not helpful and there is only one type of notification.

      In function enrol_page_hook in moodle/enrol/self/lib.php there are already placeholders for giving different notifications:

      if ($instance->enrolstartdate != 0 and $instance->enrolstartdate > time())

      { //TODO: inform that we can not enrol yet return null; }

      if ($instance->enrolenddate != 0 and $instance->enrolenddate < time())

      { //TODO: inform that enrolment is not possible any more return null; }

      Is there a timeframe when to expect different notifications?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sebabo Sebastian B
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: