diff options
author | Valentin Popov <info@valentineus.link> | 2017-11-23 16:47:47 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-11-23 16:56:59 +0300 |
commit | 1c87dae035480a45bc4710f1118bd09e434b5176 (patch) | |
tree | 2b8c953996633e04d5c699932995f413b3756cd4 /editservice.php | |
parent | 5639dc7b0f86eae1bf6828a43c734851ee71c99d (diff) | |
download | local_webhooks-1c87dae035480a45bc4710f1118bd09e434b5176.tar.xz local_webhooks-1c87dae035480a45bc4710f1118bd09e434b5176.zip |
Refactoring the service manager code
Diffstat (limited to 'editservice.php')
-rw-r--r-- | editservice.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editservice.php b/editservice.php index 0a8aec5..2e43e33 100644 --- a/editservice.php +++ b/editservice.php @@ -33,15 +33,15 @@ $serviceid = optional_param("serviceid", 0, PARAM_INT); /* Link generation */ $urlparameters = array("serviceid" => $serviceid); -$managerservice = new moodle_url("/local/webhooks/managerservice.php", $urlparameters); $baseurl = new moodle_url("/local/webhooks/editservice.php", $urlparameters); +$managerservice = new moodle_url("/local/webhooks/index.php", $urlparameters); /* Configure the context of the page */ admin_externalpage_setup("local_webhooks", "", null, $baseurl, array()); $context = context_system::instance(); /* Create an editing form */ -$mform = new local_webhooks\service_edit_form($PAGE->url); +$mform = new service_edit_form($PAGE->url); /* Cancel processing */ if ($mform->is_cancelled()) { |