MDL-73233 moodlenet: Change cancel link to /

The cancel link when content is imported from MoodleNet has
been changed from /my to /, in order to get it working always,
regardless the $CFG->enabledashboard setting is enabled or not.
This commit is contained in:
Sara Arjona 2022-02-25 16:34:10 +01:00
parent 40894d7c31
commit 04d8b5999a

View File

@ -70,7 +70,7 @@ class select_page implements \renderable, \templatable {
return (object) [
'name' => $this->importinfo->get_resource()->get_name(),
'type' => $this->importinfo->get_config()->type,
'cancellink' => new \moodle_url('/my'),
'cancellink' => new \moodle_url('/'),
];
}
}