From 08205c63f9324d2697e2ac1a2cb322bc96b197e5 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon <blizzz@owncloud.com> Date: Fri, 14 Nov 2014 16:59:54 +0100 Subject: [PATCH] errors are already logged --- lib/private/db/adapter.php | 1 - lib/private/db/adaptersqlite.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/private/db/adapter.php b/lib/private/db/adapter.php index 93d69cf418..86f867d099 100644 --- a/lib/private/db/adapter.php +++ b/lib/private/db/adapter.php @@ -71,7 +71,6 @@ class Adapter { $entry = 'DB Error: "'.$e->getMessage() . '"<br />'; $entry .= 'Offending command was: ' . $query.'<br />'; \OC_Log::write('core', $entry, \OC_Log::FATAL); - error_log('DB error: ' . $entry); throw new \OC\HintException($entry); } } diff --git a/lib/private/db/adaptersqlite.php b/lib/private/db/adaptersqlite.php index fa0e7eb623..39e2491ed0 100644 --- a/lib/private/db/adaptersqlite.php +++ b/lib/private/db/adaptersqlite.php @@ -41,7 +41,6 @@ class AdapterSqlite extends Adapter { $entry = 'DB Error: "'.$e->getMessage() . '"<br />'; $entry .= 'Offending command was: ' . $query . '<br />'; \OC_Log::write('core', $entry, \OC_Log::FATAL); - error_log('DB error: '.$entry); throw new \OC\HintException($entry); } @@ -60,7 +59,6 @@ class AdapterSqlite extends Adapter { $entry = 'DB Error: "'.$e->getMessage() . '"<br />'; $entry .= 'Offending command was: ' . $query.'<br />'; \OC_Log::write('core', $entry, \OC_Log::FATAL); - error_log('DB error: ' . $entry); throw new \OC\HintException($entry); } -- GitLab