From: Nik Okuntseff Date: Mon, 5 Nov 2018 13:17:29 +0000 (+0000) Subject: Renamed constructor function. X-Git-Tag: timetracker_1.19-1~710 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ee95ed0e72258b76ed0280f04d6846d802aefa12;p=timetracker.git Renamed constructor function. --- diff --git a/WEB-INF/lib/ttImportHelper.class.php b/WEB-INF/lib/ttImportHelper.class.php index 69af9e12..42c7102b 100644 --- a/WEB-INF/lib/ttImportHelper.class.php +++ b/WEB-INF/lib/ttImportHelper.class.php @@ -67,7 +67,7 @@ class ttImportHelper { var $logMap = array(); // Time log ids. // Constructor. - function ttImportHelper(&$errors) { + function __construct(&$errors) { $this->errors = &$errors; } diff --git a/WEB-INF/lib/ttImportHelper2.class.php b/WEB-INF/lib/ttImportHelper2.class.php index 58bfa886..5de6d8c5 100644 --- a/WEB-INF/lib/ttImportHelper2.class.php +++ b/WEB-INF/lib/ttImportHelper2.class.php @@ -51,7 +51,7 @@ class ttImportHelper2 { var $firstPass = true; // True during first pass through the file. // Constructor. - function ttImportHelper2(&$errors) { + function __construct(&$errors) { $this->errors = &$errors; }