MDL-51110 badges: prevent duplicate award of badges
authorDan Poltawski <dan@moodle.com>
Thu, 13 Aug 2015 12:12:52 +0000 (13:12 +0100)
committerDan Poltawski <dan@moodle.com>
Thu, 13 Aug 2015 12:21:03 +0000 (13:21 +0100)
commit5f92c736e3bbc744a4573f86edc391873d62afb3
tree80a621bd45decc978d476f73897eb6bfa4acdb56
parentdda862abb57f656633f0736b858f7f048efd44bb
MDL-51110 badges: prevent duplicate award of badges

Previously duplicate users could be returned when they had
done duplicate badge criteria - this would lead to a duplicate
constraint being hit as they were attempted to be awarded twice.
lib/badgeslib.php