mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
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:
parent
40894d7c31
commit
04d8b5999a
@ -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('/'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user