mirror of
https://github.com/moodle/moodle.git
synced 2025-07-20 05:41:34 +02:00
When accepting the policies via the sitepolicy handler, only compulsory policies are to be marked as accepted. Optional policies will be left as pending. Users must express their consent explicitly for them. As a side product of the change, unit tests are added for the whole handler class.