From fa983cfcc06fa1cfe22cfbc5a00474793d2465f7 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Fri, 20 Apr 2018 08:17:15 +0800 Subject: [PATCH] MDL-61836 comment: Add missing require --- comment/classes/privacy/provider.php | 2 ++ 1 file changed, 2 insertions(+) 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. *