MDL-61836 comment: Add missing require
authorAndrew Nicols <andrew@nicols.co.uk>
Fri, 20 Apr 2018 00:17:15 +0000 (08:17 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 20 Apr 2018 00:17:15 +0000 (08:17 +0800)
comment/classes/privacy/provider.php

index 0a26788..51c3a1e 100644 (file)
@@ -29,6 +29,8 @@ defined('MOODLE_INTERNAL') || die();
 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.
  *