Remove global $db variable
This commit is contained in:
parent
820afa2284
commit
0cbe3aa8e6
1 changed files with 0 additions and 2 deletions
|
@ -60,8 +60,6 @@ class DBClean {
|
||||||
* 10: Old conversations.
|
* 10: Old conversations.
|
||||||
*/
|
*/
|
||||||
private static function removeOrphans($stage) {
|
private static function removeOrphans($stage) {
|
||||||
global $db;
|
|
||||||
|
|
||||||
$count = 0;
|
$count = 0;
|
||||||
|
|
||||||
// We split the deletion in many small tasks
|
// We split the deletion in many small tasks
|
||||||
|
|
Loading…
Reference in a new issue