aboutsummaryrefslogtreecommitdiff
path: root/restorebackup.php
diff options
context:
space:
mode:
Diffstat (limited to 'restorebackup.php')
-rw-r--r--restorebackup.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/restorebackup.php b/restorebackup.php
index 69200bc..be466ef 100644
--- a/restorebackup.php
+++ b/restorebackup.php
@@ -26,8 +26,7 @@ require_once(__DIR__ . "/../../config.php");
require_once(__DIR__ . "/classes/editform.php");
require_once($CFG->libdir . "/adminlib.php");
-admin_externalpage_setup("pluginsoverview");
-require_login();
+admin_externalpage_setup("local_webhooks");
/* Link generation */
$managerservice = new moodle_url("/local/webhooks/managerservice.php");
@@ -67,7 +66,6 @@ $PAGE->set_heading($titlepage);
$PAGE->set_title($titlepage);
/* The page title */
-$PAGE->navbar->add(new lang_string("pluginname", "local_webhooks"), $managerservice);
$PAGE->navbar->add($titlepage);
echo $OUTPUT->header();