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

Allow uninstalling an auth plugin if all the users have been deleted

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.6.5, 2.7.2, 3.0.2
    • BACKEND
    • Authentication
    • MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_30_STABLE

    Description

      Uninstallation of an authentication plugin is being prevented if there are users who have been created using that plugin. Currently also deleted users prevent the uninstallation. Shouldn't the feature take only active users into consideration?

      The function is_uninstall_allowed() in lib/classes/plugininfo/auth.php should be changed to ignore deleted users.

      See discussion here: https://moodle.org/mod/forum/discuss.php?d=272751

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              juho.jaakkola Juho Jaakkola
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              12 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: