MDL-52081 forms: Use __construct() for constructors
This commit is contained in:
@@ -36,7 +36,7 @@ class feed_edit_form extends moodleform {
|
||||
function __construct($actionurl, $isadding, $caneditshared) {
|
||||
$this->isadding = $isadding;
|
||||
$this->caneditshared = $caneditshared;
|
||||
parent::moodleform($actionurl);
|
||||
parent::__construct($actionurl);
|
||||
}
|
||||
|
||||
function definition() {
|
||||
|
||||
Reference in New Issue
Block a user