diff options
author | Piotr Mrówczyński <mrow4a@yahoo.com> | 2017-04-20 11:31:00 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-04-26 13:19:43 +0200 |
commit | 9fec4031b30f5ab56af2f8c284672fcd444e8b62 (patch) | |
tree | bbecebfaa1fa8fd376b02dec9078573478fd6864 /lib/private/DB/Connection.php | |
parent | 5b5c3a1773dab4960d41aafc4150859a308311b7 (diff) | |
download | nextcloud-server-9fec4031b30f5ab56af2f8c284672fcd444e8b62.tar.gz nextcloud-server-9fec4031b30f5ab56af2f8c284672fcd444e8b62.zip |
Adjust query/event logging code in favour of more complex owncloud/diagnostics (#27643)
* Adjust query/event logging code in favour of more complex owncloud/diagnostics
* Add descriptions to IQueryLogger and IEventLogger interfaces
Diffstat (limited to 'lib/private/DB/Connection.php')
-rw-r--r-- | lib/private/DB/Connection.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/DB/Connection.php b/lib/private/DB/Connection.php index 9e116712642..6b56ae8ad5c 100644 --- a/lib/private/DB/Connection.php +++ b/lib/private/DB/Connection.php @@ -167,9 +167,6 @@ class Connection extends \Doctrine\DBAL\Connection implements IDBConnection { $statement = $this->replaceTablePrefix($statement); $statement = $this->adapter->fixupStatement($statement); - if(\OC::$server->getSystemConfig()->getValue( 'log_query', false)) { - \OCP\Util::writeLog('core', 'DB prepare : '.$statement, \OCP\Util::DEBUG); - } return parent::prepare($statement); } |