MDL-62285 privacy: use context id when generating context path
commit3041fe6faa8ad26a090c73e312c103588cd3322c
authorRyan Wyllie <ryan@moodle.com>
Wed, 2 May 2018 04:08:58 +0000 (2 12:08 +0800)
committerRyan Wyllie <ryan@moodle.com>
Wed, 2 May 2018 04:08:58 +0000 (2 12:08 +0800)
tree65ec9e2568d12bf2c30fc34c59bd6e4d4124a5e6
parent446d8483a3359ab18cdd8a35321c5e9622806a38
MDL-62285 privacy: use context id when generating context path

moodle_content_writer::get_context_path() now includes the context
id in the path to ensure that it will always generate unique paths
even when the context names are not unique.
privacy/classes/local/request/moodle_content_writer.php
privacy/tests/moodle_content_writer_test.php