Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c4685f
)
MDL-30545 messaging - remove DISTINCT from union statement
author
Dan Poltawski
<dan@moodle.com>
Tue, 13 Nov 2012 14:34:36 +0000
(22:34 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Tue, 13 Nov 2012 14:34:36 +0000
(22:34 +0800)
lib/messagelib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/messagelib.php
b/lib/messagelib.php
index
38d371a
..
3ab00ea
100644
(file)
--- a/
lib/messagelib.php
+++ b/
lib/messagelib.php
@@
-487,7
+487,7
@@
function message_get_providers_for_user($userid) {
$params['frontpagepathpattern'] = $frontpagecontext->path . '/';
$sql .= "
- UNION
DISTINCT
+ UNION
SELECT DISTINCT rc.capability, 1