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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.6.5, 2.7.2, 3.0.2
    • Fix Version/s: BACKEND
    • Component/s: Authentication
    • Labels:
    • Affected Branches:
      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

              • Votes:
                7 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: