Browse Source

Merge pull request #24146 from nextcloud/bugfix/24140/dont-throw-on-show-version-query

Don't throw on SHOW VERSION query
pull/24007/head
kesselb 5 years ago
committed by GitHub
parent
commit
17034866f5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lib/private/legacy/OC_DB.php

3
lib/private/legacy/OC_DB.php

@ -103,7 +103,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;
}

Loading…
Cancel
Save