MDL-47162 badges: site & profile badges do not have courseid
commitf593e8271a10174d5e721dea62ac103bc58853c3
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 1 Nov 2016 11:47:54 +0000 (1 12:47 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 1 Nov 2016 11:47:54 +0000 (1 12:47 +0100)
tree023884b77327cc317a391ee4f65572f49bcfc6ba
parent9bf205fb737fe8ec3b348839ec17ccc9df0bf934
MDL-47162 badges: site & profile badges do not have courseid

Because of that, we need to set the, now mandatory, SITEID for
those message events to be happy. This does not affect course or
activity badges, both coming with correct courseid.
lib/badgeslib.php