accesslib: MDL-22089 Unassigning role from one user causes warning to happen
authorInaki <iarenuno@eteo.mondragon.edu>
Sun, 2 May 2010 22:24:35 +0000 (22:24 +0000)
committerInaki <iarenuno@eteo.mondragon.edu>
Sun, 2 May 2010 22:24:35 +0000 (22:24 +0000)
commit57e9d92f38949f46766a54b799ee9007671c0c58
treeae9e8b4765e5ac23c43dfbdc45b8cde15ad86b1b
parent71720abd2f6838e7d409c4c86b38c64f5df13ba8
accesslib: MDL-22089 Unassigning role from one user causes warning to happen

The 3rd parameter to role_unassign() was renamed to $groupid_ignored some weeks
ago (as part of MDL-21655), but the $args array that is used to build the query
was not updated to reflect that change. Simply remove 'groupid' from the $args
array so it isn't used in the query at all.
lib/accesslib.php