summaryrefslogtreecommitdiff
path: root/editservice.php
diff options
context:
space:
mode:
Diffstat (limited to 'editservice.php')
-rw-r--r--editservice.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/editservice.php b/editservice.php
index 7ed7468..e9f2918 100644
--- a/editservice.php
+++ b/editservice.php
@@ -59,10 +59,6 @@ if ($idediting = boolval($idservice)) {
/* Processing of received data */
if ($data = $mform->get_data()) {
- if (empty($data->enable)) {
- $data->enable = 0;
- }
-
/* Packing of data */
if (!empty($data->events)) {
$data->events = base64_encode(gzcompress(serialize($data->events), 9));