diff options
Diffstat (limited to 'lib/db/adapter.php')
-rw-r--r-- | lib/db/adapter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/db/adapter.php b/lib/db/adapter.php index 3b950331191..92c24b46fff 100644 --- a/lib/db/adapter.php +++ b/lib/db/adapter.php @@ -43,9 +43,9 @@ class Adapter { } catch(\Doctrine\DBAL\DBALException $e) { $entry = 'DB Error: "'.$e->getMessage() . '"<br />'; $entry .= 'Offending command was: ' . $query.'<br />'; - OC_Log::write('core', $entry, OC_Log::FATAL); + \OC_Log::write('core', $entry, \OC_Log::FATAL); error_log('DB error: ' . $entry); - OC_Template::printErrorPage( $entry ); + \OC_Template::printErrorPage( $entry ); } return $result; |