MDL-51784 general: Adding missing php4 style constructors
Adding them to maintain backwards compatibility.
This commit is contained in:
@@ -1273,6 +1273,13 @@ class environment_results {
|
||||
$this->restrict_str='';
|
||||
}
|
||||
|
||||
/**
|
||||
* Old syntax of class constructor. Deprecated in PHP7.
|
||||
*/
|
||||
public function environment_results($part) {
|
||||
self::__construct($part);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the status
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user