diff --git a/lib/private/legacy/db.php b/lib/private/legacy/db.php index 31e3c24ceb791..ae5ca7b6bda80 100644 --- a/lib/private/legacy/db.php +++ b/lib/private/legacy/db.php @@ -101,7 +101,8 @@ static public function isManipulation( $sql ) { 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; }