add logger to dbmanager, thx Sephi

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-12-10 08:18:27 +01:00
parent 3e54fd765c
commit 7eedf6e694
3 changed files with 6 additions and 6 deletions

View File

@@ -247,7 +247,7 @@ if ($page == 'customers'
Database::needRoot(true);
$last_dbserver = 0;
$dbm = new DbManager($settings);
$dbm = new DbManager($settings, $log);
while ($row_database = $databases_stmt->fetch(PDO::FETCH_ASSOC)) {
@@ -1378,7 +1378,7 @@ if ($page == 'customers'
Database::needRoot(true);
$last_dbserver = 0;
$dbm = new DbManager($settings);
$dbm = new DbManager($settings, $log);
// For each of them
while ($row_database = $databases_stmt->fetch(PDO::FETCH_ASSOC)) {