Commit e33025db authored by tjhunt's avatar tjhunt
Browse files

roles / profile: MDL-14937 remove reference to ra.active column until MDL-13240 is done.

parent 4d22ec81
......@@ -72,7 +72,7 @@ $sql = "SELECT
LEFT JOIN {role_names} rn ON rn.roleid = ra.roleid AND rn.contextid = ra.contextid
WHERE
ra.userid = ?
AND ra.active = 1
"./*AND ra.active = 1*/"
ORDER BY
contextlevel DESC, contextid ASC, r.sortorder ASC";
$roleassignments = $DB->get_records_sql($sql, array($user->id));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment