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:
Michael Kaufmann (d00p)
2013-11-28 12:35:20 +01:00
parent 990e39cadb
commit 4426ab52d3
15 changed files with 274 additions and 300 deletions

View File

@@ -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 ===');
}