Compare commits
No commits in common. "studyplan-10" and "release-1.0.1" have entirely different histories.
studyplan-
...
release-1.
2 changed files with 1 additions and 7 deletions
|
@ -74,12 +74,6 @@ class webservicehelper {
|
||||||
// Initialize parent if needed.
|
// Initialize parent if needed.
|
||||||
if ($parent == null) {
|
if ($parent == null) {
|
||||||
$parent = \core_course_category::user_top();
|
$parent = \core_course_category::user_top();
|
||||||
|
|
||||||
if ($parent == null) {
|
|
||||||
// If the parent is still null, we do not have a valid user top.
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (has_capability($capability, $parent->get_context())) {
|
if (has_capability($capability, $parent->get_context())) {
|
||||||
$list[] = $parent;
|
$list[] = $parent;
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ $plugin->component = 'local_treestudyplan'; // Recommended since 2.0.2 (MDL-260
|
||||||
/* IMPORTANT: For studyplan-10 branch, only increment the iteration part of the version below
|
/* IMPORTANT: For studyplan-10 branch, only increment the iteration part of the version below
|
||||||
since this is a bugfix branch
|
since this is a bugfix branch
|
||||||
*/
|
*/
|
||||||
$plugin->version = 2023090702; // YYYYMMDDHH (year, month, day, iteration).
|
$plugin->version = 2023090701; // YYYYMMDDHH (year, month, day, iteration).
|
||||||
$plugin->requires = 2021051700; // YYYYMMDDHH (This is the release version for Moodle 3.11).
|
$plugin->requires = 2021051700; // YYYYMMDDHH (This is the release version for Moodle 3.11).
|
||||||
|
|
||||||
$plugin->release = "1.0.1";
|
$plugin->release = "1.0.1";
|
||||||
|
|
Reference in a new issue