aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/editform.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/classes/editform.php b/classes/editform.php
index 64e1e20..4f1ce31 100644
--- a/classes/editform.php
+++ b/classes/editform.php
@@ -22,16 +22,10 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
-namespace local_webhooks;
-
defined("MOODLE_INTERNAL") || die();
require_once($CFG->libdir . "/formslib.php");
-use lang_string;
-use moodleform;
-use report_eventlist_list_generator;
-
/**
* Description editing form definition.
*
@@ -47,19 +41,6 @@ class service_edit_form extends moodleform {
}
/**
- * Preparing data before displaying.
- *
- * @param object $record
- */
- public function set_data($record) {
- if (!empty($record->events)) {
- $record->events = unserialize(gzuncompress(base64_decode($record->events)));
- }
-
- return parent::set_data($record);
- }
-
- /**
* Defines the standard structure of the form.
*/
protected function definition() {