Removed use of old style constructor
This commit is contained in:
parent
344710b51d
commit
54584a113c
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ class MoodleQuickForm_customcert_colourpicker extends HTML_QuickForm_text {
|
||||||
* @param string $elementLabel
|
* @param string $elementLabel
|
||||||
* @param array $attributes
|
* @param array $attributes
|
||||||
*/
|
*/
|
||||||
function MoodleQuickForm_customcert_colourpicker($elementName = null, $elementLabel = null, $attributes = null) {
|
function __construct($elementName = null, $elementLabel = null, $attributes = null) {
|
||||||
parent::HTML_QuickForm_text($elementName, $elementLabel, $attributes);
|
parent::__construct($elementName, $elementLabel, $attributes);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue