diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-11-14 16:59:54 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-11-14 16:59:54 +0100 |
commit | 08205c63f9324d2697e2ac1a2cb322bc96b197e5 (patch) | |
tree | b41bb728ebe3f68b7f6723ab0e73dd7e28ab6434 /lib/private/db | |
parent | 7ed678b04db6dde338f90fbd00d828acee4c9c99 (diff) | |
download | nextcloud-server-08205c63f9324d2697e2ac1a2cb322bc96b197e5.tar.gz nextcloud-server-08205c63f9324d2697e2ac1a2cb322bc96b197e5.zip |
errors are already logged
Diffstat (limited to 'lib/private/db')
-rw-r--r-- | lib/private/db/adapter.php | 1 | ||||
-rw-r--r-- | lib/private/db/adaptersqlite.php | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/db/adapter.php b/lib/private/db/adapter.php index 93d69cf4183..86f867d099f 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 fa0e7eb6237..39e2491ed08 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); } |