MDL-62433 tool_policy: Some minor fixes to Privacy API implementation
commit5e84f521fabce7b0e4b60c2b202160bfa2a55caa
authorSara Arjona <sara@moodle.com>
Tue, 15 May 2018 08:35:09 +0000 (15 10:35 +0200)
committerSara Arjona <sara@moodle.com>
Tue, 15 May 2018 12:07:31 +0000 (15 14:07 +0200)
treed759206ef5870d274ad3f03eb92723243572eece
parentf63745eabdb8aae573d6b6e7702de4103c3d7e4b
MDL-62433 tool_policy: Some minor fixes to Privacy API implementation

- Export files for agreements too.
- Add versionid to the export path to avoid collision if version revision
is not defined.
admin/tool/policy/classes/privacy/provider.php
admin/tool/policy/lang/en/tool_policy.php
admin/tool/policy/tests/privacy_provider_test.php