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

attempt to delete guest account if $CFG->deleteincompleteusers

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5
    • 2.4.6, 2.5.2, 2.6
    • Libraries
    • None
    • MOODLE_25_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • w29_MDL-40558_m26_guestdelete
    • Hide

      1/ enable $CFG->deleteincompleteusers in your config.php
      2/ hack some user accounts including admin and guest to not have lastname and some older lastaccess timestamp (such as -1 year)
      3/ execute cron and verify only non-admin and non-guest accounts were deleted

      Show
      1/ enable $CFG->deleteincompleteusers in your config.php 2/ hack some user accounts including admin and guest to not have lastname and some older lastaccess timestamp (such as -1 year) 3/ execute cron and verify only non-admin and non-guest accounts were deleted

    Description

      see MDL-35145

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              Damyon Wiese Damyon Wiese
              Jason Fowler Jason Fowler
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Sep/13