Merge user accounts

Administration tools ::: tool_mergeusers
Maintained by Jordi Pujol-Ahulló, Nicolas Dunand
This administration tool will merge two Moodle user accounts into one.

Merge user accounts 2025020503 (Happy 2025)

Moodle 4.1
Released: बिहिबार, 6 फेब्रुअरी 2025, 12:11 AM

Release notes

2025020503

  1. 2025-02-05 - fix: URL on old and new user profile fields definition.
  2. 2025-02-05 - improvement: CLI script now shows better log of merging operations.

2025020502

  1. 2025-02-05 #295 - fix: remove deprecation warning on CLIGathering, related to Iterator. Thanks to @CatSema.

2025020501

  1. 2025-02-05 - bump version, update CHANGES.md, and kept support only for M4.1.

2025020500

  1. 2025-02-05 - bump version and update CHANGES.md
  2. 2025-02-05 #283 - new feature: use custom profile fields to identify merged old and new users (to both users). Partly contributed thanks to @sampraxis and @ClausSchmidtPraxis on 2024-11-14. PHPUnit test ensures the behaviour is the expected.
  3. 2025-02-05 #294 - fix: pass tests on mod_assign again. Thanks to @leonstr.
  4. 2025-02-04 #304 - fix: set up again suspended image to merged source user.
  5. 2025-02-04 #253 - fix: CRLF codification passed to LF.
  6. 2025-01-23 #299 - fix: fix file content to get them properly uploaded into AMOS.

2023040402

  1. 2023-04-13 #243 - remove unused class with API inconsistence.

2023040401

  1. 2023-04-04 #211 - add CSV export for merged user logs; added mergedbyuserid field, thanks to Mark Johnson.

2023040400

  1. 2023-04-04 Fix CI to run only for supported versions, supporting Moodle 3.11 and up.
  2. 2022-12-15 #228 - Add compound indexes for customcert_issues table, thanks to Leon Stringer.
  3. 2021-08-01 #197 - Use Github Actions, remove Travis CI usage.

2021072200

  1. 2021-07-23 #193 - Allow automatic Moodle plugins release when defining git tab.
  2. 2021-07-14 #175 - Reaggregate completion for target user, thanks to Andrew Hancox.
  3. 2021-07-14 #194 - Update unit tests for Moodle 3.10+, thanks to Alistair Spark.
  4. 2021-07-02 #177 - Move observer functions into classes to bypass include file error, thanks to Andrew Madden.
  5. 2021-06-10 #181 - Guarantee processing any grade item.
  6. 2020-02-23 #169 - Fix wrong entries deleted in case of conflict, thanks to Tim Schroeder.
  7. 2019-08-18 #166 - Support for duplicated assign submissions and other fixes.
  8. 2019-08-16 #67 - Improve and clean up settings.php.
  9. 2019-08-16 #163 - Force user to keep not to be suspended.
  10. 2019-08-16 #161 - Split in chunks the list of record ids to delete/update to prevent buffer overflow on SQL sentences.
  11. 2019-08-15 #147 - Config: Add logstore_standard_log columns related to user.id.
  12. 2019-08-15 #151 - Config: Add composed keys for wikis.
  13. 2019-08-15 #146 - Fix searching by user.id on pgsql.
  14. 2019-08-15 #152 - Support any supported Moodle database.

For a more extense list of changes, see git logs for changes before April 2019.

Contributors

Maintained by:

See all Github contributors

Version information

Version build number
2025020503
Version release name
2025020503 (Happy 2025)
Maturity
Stable version
MD5 Sum
18f83f4fbec50f6cf8d6f19cbf250def
Supported software
Moodle 4.1
  • Latest release for Moodle 4.1

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
2025020503

Default installation instructions for plugins of the type Administration tools

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "mytool") in the "admin/tool" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation