migrate ALL the crons to new PDO database class, refs #1287
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -22,15 +22,6 @@ if ($settings['logger']['log_cron'] == '1') {
|
||||
fwrite($debugHandler, 'Logging for cron has been shutdown' . "\n");
|
||||
}
|
||||
|
||||
// TODO remove when completely migrated to PDO
|
||||
$db->close();
|
||||
fwrite($debugHandler, 'Closing database connection' . "\n");
|
||||
|
||||
if (isset($db_root)) {
|
||||
$db_root->close();
|
||||
fwrite($debugHandler, 'Closing database rootconnection' . "\n");
|
||||
}
|
||||
|
||||
if ($keepLockFile === true) {
|
||||
fwrite($debugHandler, '=== Keep lockfile because of exception ===');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user