MDL-30545 messaging - remove DISTINCT from union statement

This commit is contained in:
Dan Poltawski 2012-11-13 22:34:36 +08:00
parent 5c4685f0ad
commit 5f7b0f2bdc

View File

@ -487,7 +487,7 @@ function message_get_providers_for_user($userid) {
$params['frontpagepathpattern'] = $frontpagecontext->path . '/';
$sql .= "
UNION DISTINCT
UNION
SELECT DISTINCT rc.capability, 1