MDL-61937 comment: do not use API in provider
commit70703d4c51a45034a06645efb9d37d2ab00f5be9
authorMarina Glancy <marina@moodle.com>
Wed, 2 May 2018 02:08:04 +0000 (2 10:08 +0800)
committerMarina Glancy <marina@moodle.com>
Fri, 4 May 2018 03:22:14 +0000 (4 11:22 +0800)
treef31e488954c35354306a116665d79a3f63cfec90
parenta7a6be90c8b7234fdbd3c48c8a7a212e0712d5ba
MDL-61937 comment: do not use API in provider

When exporting comments we can not use comments API because:
- we don't need to call component validate, comments may be disabled right now but
  are still stored
- we don't need to call display callback
- we need to export all comments and not only first 15 of them
comment/classes/privacy/provider.php
comment/tests/privacy_test.php