MDL-54968 user: change query for resetting dashboard
commit9b1f8676c59d2dd607df4d2f783b67c0ced07302
authorMarina Glancy <marina@moodle.com>
Wed, 22 Jun 2016 05:10:08 +0000 (22 13:10 +0800)
committerMarina Glancy <marina@moodle.com>
Mon, 27 Jun 2016 07:09:03 +0000 (27 15:09 +0800)
treeda42aa49d08bbe2e0185a503ed522ca31de326e0
parent39087f28ae64f37d188dae35aea64014d22127af
MDL-54968 user: change query for resetting dashboard

In case of inconsistent data the fatal error could have happen.
Also improve performance by joining several queries into one.
my/lib.php