MDL-50173 ratings: Use proper checks to ensure ratings are viewable.
commit20ff15e22b4f0abebe1ab5fbfd1d681c88765e2a
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:42:19 +0000 (9 04:42 +0200)
treef6a6daf40727055975c32505bbfb4ed18128b7af
parenta20bcf6598edd9615c5e578fc685d4b27c088991
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