MDL-51784 various: use __construct() for PHP7 compatibility
This commit is contained in:
committed by
David Monllao
parent
05178f0745
commit
c4d0b752a2
@@ -190,7 +190,7 @@ class component_installer {
|
||||
* be expanded (default='' = moodledataitself)
|
||||
* @return object
|
||||
*/
|
||||
function component_installer ($sourcebase, $zippath, $zipfilename, $md5filename='', $destpath='') {
|
||||
public function __construct($sourcebase, $zippath, $zipfilename, $md5filename='', $destpath='') {
|
||||
|
||||
$this->sourcebase = $sourcebase;
|
||||
$this->zippath = $zippath;
|
||||
|
||||
Reference in New Issue
Block a user