MDL-59934 calendar: remove more button from event form modal
[moodle.git] / calendar / lib.php
index f574472..c6e7a1a 100644 (file)
@@ -3546,10 +3546,6 @@ function calendar_output_fragment_event_form($args) {
         parse_str(clean_param($args['formdata'], PARAM_TEXT), $data);
     }
 
-    if (isset($args['haserror'])) {
-        $formoptions['haserror'] = clean_param($args['haserror'], PARAM_BOOL);
-    }
-
     if ($starttime) {
         $formoptions['starttime'] = $starttime;
     }