Skip to content
  • Eloy Lafuente's avatar
    MDL-63919 tool_dataprivacy: admin & notify fixes · 51894a81
    Eloy Lafuente authored and Andrew Lyons's avatar Andrew Lyons committed
    This includes the following:
    
    1) Replace $ADMIN->id by get_admin()->id. The former doesn't exist.
    2) Only change the notify parameter when it has not been specified
       at creation time (null). If specified, observe it.
    3) Set the current user in tests to admin, able to create those
       requests.
    51894a81