From c1a6ef1220ed73f74cd1a4d3f74155fd4c41573d Mon Sep 17 00:00:00 2001 From: Aaron Barnes Date: Mon, 19 Jul 2010 04:06:51 +0000 Subject: [PATCH] MDL-23281 Include course completion library --- course/report/completion/lib.php | 2 ++ course/report/progress/lib.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/course/report/completion/lib.php b/course/report/completion/lib.php index 9b2d12271e5..7a933217338 100644 --- a/course/report/completion/lib.php +++ b/course/report/completion/lib.php @@ -24,6 +24,8 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ +require_once($CFG->libdir.'/completionlib.php'); + /** * This function extends the navigation with the report items * diff --git a/course/report/progress/lib.php b/course/report/progress/lib.php index e518c012f3d..f4c74f6a5e6 100644 --- a/course/report/progress/lib.php +++ b/course/report/progress/lib.php @@ -24,6 +24,8 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ +require_once($CFG->libdir.'/completionlib.php'); + /** * This function extends the navigation with the report items * -- 2.43.0