From d0f17393a886e8c251ae6cd5fa04b2a68cc661e2 Mon Sep 17 00:00:00 2001 From: Johannes Burk Date: Tue, 13 May 2014 10:18:35 +0200 Subject: [PATCH] removed unknown/undefined properties --- edit.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/edit.php b/edit.php index 2f0b7ee..a07ab9f 100644 --- a/edit.php +++ b/edit.php @@ -52,16 +52,8 @@ if ($mform->is_cancelled()) { if ($instance->id) { $instance->status = $data->status; $instance->name = $data->name; - $instance->password = $data->password; - $instance->customint1 = $data->customint1; - $instance->customint2 = $data->customint2; - $instance->customint3 = $data->customint3; - $instance->customint4 = $data->customint4; $instance->customtext1 = $data->customtext1; $instance->roleid = $data->roleid; - $instance->enrolperiod = $data->enrolperiod; - $instance->enrolstartdate = $data->enrolstartdate; - $instance->enrolenddate = $data->enrolenddate; $instance->timemodified = time(); $DB->update_record('enrol', $instance);