MDL-50173 ratings: Use proper checks to ensure ratings are viewable.
commit4015226623111438158fa762b7ce61f6cf677665
authorAnkit Agarwal <ankit@moodle.com>
Mon, 8 Jun 2015 09:03:26 +0000 (8 14:33 +0530)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 9 Sep 2015 02:53:35 +0000 (9 04:53 +0200)
tree8b5dd53cb0c589cde9a3638101c597d36e77cf43
parent0bbeac0d0de4561a598cd09c959d032f7924806c
MDL-50173 ratings: Use proper checks to ensure ratings are viewable.

Mainly to verify groups visibility this new callback has been created.

Note this was originally 2 commits but for amending purposes they have
been squashed.
mod/data/lib.php
mod/data/tests/lib_test.php
mod/forum/lib.php
mod/forum/tests/lib_test.php
mod/upgrade.txt
rating/index.php