Skip to content

Commit

Permalink
Add dependency version
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-csg committed Oct 29, 2024
1 parent b8a36f7 commit 270edaa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ public function page_set_course(moodle_page $page) {
$page->has_set_url() &&
$page->url->compare(new moodle_url('/course/view.php'), URL_MATCH_BASE) &&
!$this->show_editor()) {


if (!$this->main_learningmap_exists()) {
if (!has_capability('moodle/course:update', context_course::instance($this->courseid))) {
return;
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
$plugin->requires = 2024042200;
$plugin->supported = [404, 500];
$plugin->maturity = MATURITY_ALPHA;
$plugin->dependencies = ['mod_learningmap'];
$plugin->dependencies = ['mod_learningmap' => 2024072201];

0 comments on commit 270edaa

Please sign in to comment.