diff options
author | Valentin Popov <info@valentineus.link> | 2017-11-18 05:31:25 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-11-18 05:31:25 +0300 |
commit | 97140dccf76f878991853d827449ca608eb91864 (patch) | |
tree | 7017e6d948a6aaa0bd36a10921987cc614132322 /restorebackup.php | |
parent | bf2cef3ea035f4487e4b41e3033c60b1f1f0ead3 (diff) | |
download | local_webhooks-97140dccf76f878991853d827449ca608eb91864.tar.xz local_webhooks-97140dccf76f878991853d827449ca608eb91864.zip |
Aesthetics in the code
Diffstat (limited to 'restorebackup.php')
-rw-r--r-- | restorebackup.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/restorebackup.php b/restorebackup.php index ee6f48a..69200bc 100644 --- a/restorebackup.php +++ b/restorebackup.php @@ -31,7 +31,7 @@ require_login(); /* Link generation */ $managerservice = new moodle_url("/local/webhooks/managerservice.php"); -$baseurl = new moodle_url("/local/webhooks/restorebackup.php"); +$baseurl = new moodle_url("/local/webhooks/restorebackup.php"); $PAGE->set_url($baseurl); /* Configure the context of the page */ @@ -49,7 +49,7 @@ if ($mform->is_cancelled()) { /* Processing the received file */ $data = $mform->get_data(); if (boolval($data) && confirm_sesskey()) { - $content = $mform->get_file_content("backupfile"); + $content = $mform->get_file_content("backupfile"); $callbacks = unserialize(gzuncompress(base64_decode($content))); $DB->delete_records("local_webhooks_service"); @@ -67,7 +67,7 @@ $PAGE->set_heading($titlepage); $PAGE->set_title($titlepage); /* The page title */ -$PAGE->navbar->add(new lang_string("externalservices", "webservice"), $managerservice); +$PAGE->navbar->add(new lang_string("pluginname", "local_webhooks"), $managerservice); $PAGE->navbar->add($titlepage); echo $OUTPUT->header(); |