Commit cb52d1b1 authored by Marius Burkard's avatar Marius Burkard

- fixed PHP warnings about class constuctors (mentioned in #4750) fixes #4752

parent c67b6cef
......@@ -1031,7 +1031,7 @@ class db_result {
*
* @access private
*/
public function db_result($iResId, $iConnection) {
public function __construct($iResId, $iConnection) {
$this->_iResId = $iResId;
$this->_iConnection = $iConnection;
}
......@@ -1157,7 +1157,7 @@ class fakedb_result {
*
* @access private
*/
public function fakedb_result($aData) {
public function __construct($aData) {
$this->aResultData = $aData;
$this->aLimitedData = $aData;
reset($this->aLimitedData);
......
......@@ -983,7 +983,7 @@ class db_result {
*
* @access private
*/
public function db_result($iResId, $iConnection) {
public function __construct($iResId, $iConnection) {
$this->_iResId = $iResId;
$this->_iConnection = $iConnection;
}
......@@ -1109,7 +1109,7 @@ class fakedb_result {
*
* @access private
*/
public function fakedb_result($aData) {
public function __construct($aData) {
$this->aResultData = $aData;
$this->aLimitedData = $aData;
reset($this->aLimitedData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment