Your Moodle version

Admin tools: Reset MyMoodle

Maintained by Picture of Carlos Escobedo Carlos Escobedo
This tool allows reset all MyMoodle Users except main admin. Is for admins.

Administrators can reset all MyMoodles except main admin with one click with this tool. Located in Development Menu Node.

In the future, will be capable to select groups of users or one single users to reset MyMoodle.


Screenshot #0
Screenshot #1


Picture of Carlos Escobedo
Carlos Escobedo (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Mon, May 26, 2014, 5:21 AM
    Thanks for sharing this plugin with the Moodle community. Some formal issues were detected and reported by our automated plugin checker tool. Please review all the plugin checker results and fix the issues mentioned, if possible. These changes are typically pretty easy to make but if you have any questions just let us know. For now, I am going to mark this plugin as needing more work. Once you get these formal issues resolved, please use the link “Schedule this plugin for re-approval” so that the plugin code can be fully reviewed and approved by my human colleagues.
  • Picture of David Mudrák
    Mon, Jun 2, 2014, 4:19 AM
    Hi Carlos. Thanks for fixing the raised issues promptly. I am about to approve your plugin that provide simple yet useful functionality. There is one thing I would strongly recommend to improve in your future plugin's version though. Instead of doing things on your own, please use existing APIs unless you have a good reason not to. In this particular page, I believe your tool could simply call my_reset_page() in a loop for all users. It's much cleaner way how to clean and reset data there. Only when you were facing massive performance issues (which could happen at big sites with many users having MyMoodle customized), it would be good idea to have more effective bulk reset mechanisms.

    Said, that, you are cleared to land. Runway free, welcome to Moodle plugins!
  • Picture of Carlos Escobedo
    Mon, Jun 2, 2014, 10:24 PM
    I'm agree with your comments. As soon as possible I will upgrade the plugin to use the API. In fact, is inside new proposals.
  • Picture of Nadav Kavalerchik
    Wed, Jul 29, 2015, 9:19 PM
    Beautiful and useful block! It would be nice if we could choose a specific user and reset his/her My (Dashboard) blocks.
  • Picture of Roger Domínguez Argemí
    Thu, Aug 20, 2015, 7:47 PM
    Nice and useful plugin!
  • Picture of Peter Richardson
    Wed, Sep 9, 2015, 2:04 PM
    Hi, Does this plugin work on 2.9+?
  • Me, with my new 'slow explosion' hair!
    Fri, Oct 2, 2015, 4:54 PM
    I've upgraded this (for 2.9, notionally, but will probably work on 2.8 too) and submitted a pull request.
  • Picture of Chris Booth
    Wed, Nov 18, 2015, 6:39 PM
    Hi there

    I am having a problem using this plugin. When I click the Continue button I get the following error message:

    Reset My Moodle

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 84 bytes) in /var/www/sandbox/lib/dml/pgsql_native_moodle_database.php on line 776

    We are on Moodle 2.9.

    Any ideas why this may be / has anyone come across this before?
    Thanks in advance
Please login to post comments