Remove global $db variable

This commit is contained in:
Hypolite Petovan 2018-07-09 22:40:10 -04:00
parent 820afa2284
commit 0cbe3aa8e6

View File

@ -60,8 +60,6 @@ class DBClean {
* 10: Old conversations.
*/
private static function removeOrphans($stage) {
global $db;
$count = 0;
// We split the deletion in many small tasks