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

attempt to delete guest account if $CFG->deleteincompleteusers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.4.6, 2.5.2, 2.6
    • Component/s: Libraries
    • Labels:
      None
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w29_MDL-40558_m26_guestdelete

      Description

      see MDL-35145

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Integrator:
              Damyon Wiese
              Tester:
              Jason Fowler
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Sep/13