Skip to content
Browse files

MDL-21203 delete dupe code - Credit goes to Antoine G

  • Loading branch information...
1 parent 8002b70 commit f4b233eef5815e91ed15daefcc40aa0de261c9e2 @stronk7 stronk7 committed
Showing with 0 additions and 5 deletions.
  1. +0 −5 user/filters/date.php
View
5 user/filters/date.php
@@ -44,11 +44,6 @@ function setupForm(&$mform) {
$mform->setAdvanced($this->_name.'_grp');
}
- if ($this->_advanced) {
- $mform->setAdvanced($this->_name.'_grp');
- }
-
-
$mform->disabledIf($this->_name.'_sdt[day]', $this->_name.'_sck', 'notchecked');
$mform->disabledIf($this->_name.'_sdt[month]', $this->_name.'_sck', 'notchecked');
$mform->disabledIf($this->_name.'_sdt[year]', $this->_name.'_sck', 'notchecked');

0 comments on commit f4b233e

Please sign in to comment.
Something went wrong with that request. Please try again.