From 463aeaf0433bf19b83519747c86b0e0e945d43eb Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 18 Nov 2017 06:37:58 +0400 Subject: Correcting the page template --- editservice.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'editservice.php') diff --git a/editservice.php b/editservice.php index c97fa22..8b065ff 100644 --- a/editservice.php +++ b/editservice.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"); /* Optional parameters */ $serviceid = optional_param("serviceid", 0, PARAM_INT); @@ -85,7 +84,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(); -- cgit v1.2.3