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

support for external auth in user deletion

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 1.9
    • Fix Version/s: 1.9
    • Component/s: Authentication
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      When you delete a user, the standard update_record function is called to update the user record and flag the deleted field. It would be helpful if the code could also call the auth plugin's update_user method (if it exists) so that the change can be mirrored in any external system.

      See attached patch - code is copied from the same principle in user/edit.php.

      Happy to check this in if some-one could just glance over it and let me know its OK?

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            jenny-gray Jenny Gray
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08