diff --git a/comment/classes/privacy/provider.php b/comment/classes/privacy/provider.php index 0a267887ea043..51c3a1e7dd5eb 100644 --- a/comment/classes/privacy/provider.php +++ b/comment/classes/privacy/provider.php @@ -29,6 +29,8 @@ use \core_privacy\local\metadata\collection; use \core_privacy\local\request\transform; +require_once($CFG->dirroot . '/comment/lib.php'); + /** * Privacy class for requesting user data. *