MDL-50173 ratings: Use proper checks to ensure ratings are viewable.
authorAnkit Agarwal <ankit@moodle.com>
Mon, 8 Jun 2015 09:03:26 +0000 (14:33 +0530)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 9 Sep 2015 02:07:21 +0000 (04:07 +0200)
commit731c2712e746053b1ca06b50118632305b447e02
tree8a1bb7911de6083828d4f7cc99045631ad59d04f
parent050bfb3302ec98550b2f4f6f81647507513609be
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 3 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/classes/external.php
rating/index.php
rating/tests/externallib_test.php