mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-30545 messaging - remove DISTINCT from union statement
This commit is contained in:
parent
5c4685f0ad
commit
5f7b0f2bdc
@ -487,7 +487,7 @@ function message_get_providers_for_user($userid) {
|
||||
$params['frontpagepathpattern'] = $frontpagecontext->path . '/';
|
||||
|
||||
$sql .= "
|
||||
UNION DISTINCT
|
||||
UNION
|
||||
|
||||
SELECT DISTINCT rc.capability, 1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user