Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
cb52d1b1
Commit
cb52d1b1
authored
Aug 06, 2017
by
Marius Burkard
Browse files
- fixed PHP warnings about class constuctors (mentioned in
#4750
) fixes
#4752
parent
c67b6cef
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/db_mysql.inc.php
View file @
cb52d1b1
...
...
@@ -1031,7 +1031,7 @@ class db_result {
*
* @access private
*/
public
function
db_resul
t
(
$iResId
,
$iConnection
)
{
public
function
__construc
t
(
$iResId
,
$iConnection
)
{
$this
->
_iResId
=
$iResId
;
$this
->
_iConnection
=
$iConnection
;
}
...
...
@@ -1157,7 +1157,7 @@ class fakedb_result {
*
* @access private
*/
public
function
fakedb_resul
t
(
$aData
)
{
public
function
__construc
t
(
$aData
)
{
$this
->
aResultData
=
$aData
;
$this
->
aLimitedData
=
$aData
;
reset
(
$this
->
aLimitedData
);
...
...
server/lib/classes/db_mysql.inc.php
View file @
cb52d1b1
...
...
@@ -983,7 +983,7 @@ class db_result {
*
* @access private
*/
public
function
db_resul
t
(
$iResId
,
$iConnection
)
{
public
function
__construc
t
(
$iResId
,
$iConnection
)
{
$this
->
_iResId
=
$iResId
;
$this
->
_iConnection
=
$iConnection
;
}
...
...
@@ -1109,7 +1109,7 @@ class fakedb_result {
*
* @access private
*/
public
function
fakedb_resul
t
(
$aData
)
{
public
function
__construc
t
(
$aData
)
{
$this
->
aResultData
=
$aData
;
$this
->
aLimitedData
=
$aData
;
reset
(
$this
->
aLimitedData
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment