MDL-61899 tool_dataprivacy: Use default parameters for get_role_users()
authorJun Pataleta <jun@moodle.com>
Fri, 20 Apr 2018 02:01:34 +0000 (10:01 +0800)
committerJun Pataleta <jun@moodle.com>
Fri, 20 Apr 2018 03:26:03 +0000 (11:26 +0800)
* To avoid failures in Oracle.

admin/tool/dataprivacy/classes/api.php

index 5038e98..da87d8a 100644 (file)
@@ -141,7 +141,7 @@ class api {
                 continue;
             }
             // Fetch users that can manage data requests.
-            $dpos += get_role_users($roleid, $context, false, 'u.*');
+            $dpos += get_role_users($roleid, $context);
         }
 
         // If the site has no data protection officer, defer to site admin(s).