Removed use of old style constructor

This commit is contained in:
Mark Nelson 2015-12-31 15:20:30 +08:00
parent 344710b51d
commit 54584a113c

View file

@ -39,8 +39,8 @@ class MoodleQuickForm_customcert_colourpicker extends HTML_QuickForm_text {
* @param string $elementLabel
* @param array $attributes
*/
function MoodleQuickForm_customcert_colourpicker($elementName = null, $elementLabel = null, $attributes = null) {
parent::HTML_QuickForm_text($elementName, $elementLabel, $attributes);
function __construct($elementName = null, $elementLabel = null, $attributes = null) {
parent::__construct($elementName, $elementLabel, $attributes);
}
/**