Skip to content

Commit 6dc0d33

Browse files
committed
Use the external page tab url instead of the hardcoded URL which was used during development
1 parent a38dca6 commit 6dc0d33

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

classes/admin_settingspage_tabs_with_external.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ public function output_html() {
102102
$newtab['externaltab'] = true;
103103
// And change the name (which is used as link in the mustache template)
104104
// to hold the full URL of the external page..
105-
$externalname = new \moodle_url('/theme/boost_union/snippets/overview.php');
106-
$newtab['name'] = $externalname->out();
105+
$newtab['name'] = $tab->url->out();
107106
}
108107
$context['tabs'][] = $newtab;
109108
}

0 commit comments

Comments
 (0)