Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PHP-MySQLi-Database-Class
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
PHP-MySQLi-Database-Class
Commits
14544ff7
Commit
14544ff7
authored
Jun 20, 2017
by
Alexander Butenko
Committed by
GitHub
Jun 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #628 from leigh-ols/leigh-ols-patch-1
Remove __destructor from MysqliDb
parents
52b8db40
0f41abae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
MysqliDb.php
MysqliDb.php
+0
-17
No files found.
MysqliDb.php
View file @
14544ff7
...
@@ -1848,23 +1848,6 @@ class MysqliDb
...
@@ -1848,23 +1848,6 @@ class MysqliDb
return
$stmt
;
return
$stmt
;
}
}
/**
* Close connection
*
* @return void
*/
public
function
__destruct
()
{
if
(
$this
->
isSubQuery
)
{
return
;
}
if
(
$this
->
_mysqli
)
{
$this
->
_mysqli
->
close
();
$this
->
_mysqli
=
null
;
}
}
/**
/**
* Referenced data array is required by mysqli since PHP 5.3+
* Referenced data array is required by mysqli since PHP 5.3+
*
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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