diff --git a/lib/private/legacy/OC_DB.php b/lib/private/legacy/OC_DB.php index 390b2d3b1e..d2606793f2 100644 --- a/lib/private/legacy/OC_DB.php +++ b/lib/private/legacy/OC_DB.php @@ -102,7 +102,8 @@ class OC_DB { return true; } - \OC::$server->getLogger()->logException(new \Exception('Can not detect if query is manipulating: ' . $sql)); + // This is triggered with "SHOW VERSION" and some more, so until we made a list, we keep this out. + // \OC::$server->getLogger()->logException(new \Exception('Can not detect if query is manipulating: ' . $sql)); return false; }