From 329241335f087f9fe0ab0ff8fa96d70fbd7a3316 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Fri, 20 Apr 2018 10:01:34 +0800 Subject: [PATCH] MDL-61899 tool_dataprivacy: Use default parameters for get_role_users() * To avoid failures in Oracle. --- admin/tool/dataprivacy/classes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/tool/dataprivacy/classes/api.php b/admin/tool/dataprivacy/classes/api.php index 5038e98eb20..da87d8a129e 100644 --- a/admin/tool/dataprivacy/classes/api.php +++ b/admin/tool/dataprivacy/classes/api.php @@ -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).