From 9802bd616e8bc73571e078213d8b8031b3485855 Mon Sep 17 00:00:00 2001 From: Ankit Agarwal Date: Tue, 23 Dec 2014 13:29:58 +0530 Subject: [PATCH] MDL-48697 libraries: Use proper path for core_completion --- lib/classes/component.php | 2 +- lib/upgrade.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/classes/component.php b/lib/classes/component.php index 2ce84d75fcc..3e354f1b0ee 100644 --- a/lib/classes/component.php +++ b/lib/classes/component.php @@ -348,7 +348,7 @@ $cache = '.var_export($cache, true).'; 'cache' => $CFG->dirroot.'/cache', 'calendar' => $CFG->dirroot.'/calendar', 'cohort' => $CFG->dirroot.'/cohort', - 'completion' => null, + 'completion' => $CFG->dirroot.'/completion', 'countries' => null, 'course' => $CFG->dirroot.'/course', 'currencies' => null, diff --git a/lib/upgrade.txt b/lib/upgrade.txt index 8ed7b1fa580..b8c2c59ce78 100644 --- a/lib/upgrade.txt +++ b/lib/upgrade.txt @@ -8,6 +8,7 @@ information provided here is intended especially for developers. Catching debugging messages when sending mail will no longer work. Use $sink = $this->redirectEmails(); and then check the message in the sink instead. * The file pluginlib.php was deprecated since 2.6 and has now been removed, do not include or require it. +* \core_component::fetch_subsystems() now returns a valid path for completion component instead of null. === 2.8 ===