]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-21203 delete dupe code - Credit goes to Antoine G ; merged from 19_STABLE
authorEloy Lafuente <stronk7@moodle.org>
Mon, 28 Dec 2009 14:34:50 +0000 (14:34 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Mon, 28 Dec 2009 14:34:50 +0000 (14:34 +0000)
user/filters/date.php

index e5162a567dc199340e6200a962c41fb06961c27b..9c8dc751dd3cf002306e268a435907d942da688c 100755 (executable)
@@ -44,11 +44,6 @@ class user_filter_date extends user_filter_type {
             $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');