mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 18:37:17 +01:00
Add supression of SqlInjectionChecker.
Signed-off-by: Ole Ostergaard <ole.c.ostergaard@gmail.com>
This commit is contained in:
@@ -127,6 +127,9 @@ class Adapter {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* @suppress SqlInjectionChecker
|
||||
*/
|
||||
public function insertIgnoreConflict($table, $input) : int {
|
||||
try {
|
||||
$builder = $this->conn->getQueryBuilder();
|
||||
|
||||
@@ -36,6 +36,9 @@ class AdapterPgSql extends Adapter {
|
||||
return $statement;
|
||||
}
|
||||
|
||||
/*
|
||||
* @suppress SqlInjectionChecker
|
||||
*/
|
||||
public function insertIgnoreConflict($table, $input) : int {
|
||||
$builder = $this->conn->getQueryBuilder();
|
||||
$builder->insert($table)
|
||||
|
||||
Reference in New Issue
Block a user