Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34696 enrol improvements 2.4 META
  3. MDL-35843

Students should be notified about self enrolment expiration in advance

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.4
    • Enrolments
    • MOODLE_23_STABLE
    • MOODLE_24_STABLE
    • w43_MDL-35843_m42_expiryself
    • Hide

      I/ run phpunit tests
      II/ repeat the enrol_manual testing from last week for both enrol_manual and enrol_self - see MDL-28980


      1/ setup up a few courses with manually enrolled users with different expiration dates
      2/ set up expiration notification hour in enrol_manual settings and in course instances enable notification and set up thresholds
      3/ execute cron or enrol/manual/cli/sync.php script
      4/ verify mails and messages

      Note: you may want to modify value of last execution flag instead of waiting the whole day, such as by executing:

      set_config('expirynotifylast', time()-(60*60*24), 'enrol_manual');


      1/ setup up a few courses with self enrolled users with different expiration dates
      2/ set up expiration notification hour in enrol_self settings and in course instances enable notification and set up thresholds
      3/ execute cron or enrol/self/cli/sync.php script
      4/ verify mails and messages

      Note: you may want to modify value of last execution flag instead of waiting the whole day, such as by executing:

      set_config('expirynotifylast', time()-(60*60*24), 'enrol_self');

      Show
      I/ run phpunit tests II/ repeat the enrol_manual testing from last week for both enrol_manual and enrol_self - see MDL-28980 — 1/ setup up a few courses with manually enrolled users with different expiration dates 2/ set up expiration notification hour in enrol_manual settings and in course instances enable notification and set up thresholds 3/ execute cron or enrol/manual/cli/sync.php script 4/ verify mails and messages Note: you may want to modify value of last execution flag instead of waiting the whole day, such as by executing: set_config('expirynotifylast', time()-(60*60*24), 'enrol_manual'); — 1/ setup up a few courses with self enrolled users with different expiration dates 2/ set up expiration notification hour in enrol_self settings and in course instances enable notification and set up thresholds 3/ execute cron or enrol/self/cli/sync.php script 4/ verify mails and messages Note: you may want to modify value of last execution flag instead of waiting the whole day, such as by executing: set_config('expirynotifylast', time()-(60*60*24), 'enrol_self');

    Description

      This is similar to MDL-28980, I am going to refactor the code to make the expiry notifications a core feature.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              Dan Poltawski Dan Poltawski
              Mark Nelson Mark Nelson
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Dec/12