Skip to content
Snippets Groups Projects
Commit 247a8990 authored by Elke Kreim's avatar Elke Kreim
Browse files

Rename index.php file to export.php

parent e3536eb9
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ $title = get_string('pluginname', 'local_hshexport');
require_login($course, true);
$PAGE->set_url('/local/hshexport/index.php', array('id' => $course->id));
$PAGE->set_url('/local/hshexport/export.php', array('id' => $course->id));
$PAGE->set_title($title);
$coursecontext = context_course::instance($course->id);
......
......@@ -29,7 +29,7 @@ define('LOCALHSHEXPORT_NAV_PARTICIPANTS', 'navpart');
function local_hshexport_extend_navigation_course($navigation, $course, $context) {
if (has_capability('local/hshexport:canexport', $context)) {
// Create the navigation node.
$url = new moodle_url('/local/hshexport/index.php', ['id' => $course->id]);
$url = new moodle_url('/local/hshexport/export.php', ['id' => $course->id]);
$hshexportnode = navigation_node::create(get_string('pluginname', 'local_hshexport'), $url,
navigation_node::TYPE_SETTING, null, 'local_hshexport', new pix_icon('i/users', ''));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment