diff --git a/lib/private/db/adapter.php b/lib/private/db/adapter.php index 93d69cf418328ca411154f68d0c78756bfe3cc79..86f867d099f7a1110b43038aaaa923025de9d1d6 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 fa0e7eb62373ce805507f8e649b97086d79a577d..39e2491ed08a27d0186fd49703a6566e88ca5a21 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); }