Skip to content

Commit

Permalink
fix for phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
bozoh committed Aug 17, 2018
1 parent 6471f95 commit 9cfdcb0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public function definition() {
get_string('certificatetext', 'simplecertificate'), null,
simplecertificate_get_editor_options($this->context)
);
#$mform->setType('certificatetext', PARAM_RAW);
$mform->addRule('certificatetext', get_string('error'), 'required', null, 'client');
$mform->addHelpButton('certificatetext', 'certificatetext', 'simplecertificate');

Expand Down Expand Up @@ -111,7 +110,6 @@ public function definition() {
$mform->addElement('editor', 'secondpagetext',
get_string('secondpagetext', 'simplecertificate'), null,
simplecertificate_get_editor_options($this->context));
# $mform->setType('secondpagetext', PARAM_RAW);
$mform->addHelpButton('secondpagetext', 'certificatetext', 'simplecertificate');
$mform->disabledIf('secondpagetext', 'enablesecondpage', 'eq', 0);

Expand Down

0 comments on commit 9cfdcb0

Please # to comment.