MDL-51784 general: Adding missing php4 style constructors
Adding them to maintain backwards compatibility.
This commit is contained in:
@@ -17,6 +17,13 @@ class SpellChecker {
|
||||
$this->_config = $config;
|
||||
}
|
||||
|
||||
/**
|
||||
* Old syntax of class constructor. Deprecated in PHP7.
|
||||
*/
|
||||
public function SpellChecker(&$config) {
|
||||
self::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Simple loopback function everything that gets in will be send back.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user