diff options
author | Ole Ostergaard <ole.c.ostergaard@gmail.com> | 2019-02-26 14:08:39 +0100 |
---|---|---|
committer | Ole Ostergaard <ole.c.ostergaard@gmail.com> | 2019-03-21 11:42:00 +0100 |
commit | d62da82bf9e44d62aff287dcf64dccef35c2d693 (patch) | |
tree | 5e69b61c1de4c0da5e5e47bd7ec158d6ed4b1cca /lib | |
parent | c9b6487393f1272f554cd54ea5707a43bd80d953 (diff) | |
download | nextcloud-server-d62da82bf9e44d62aff287dcf64dccef35c2d693.tar.gz nextcloud-server-d62da82bf9e44d62aff287dcf64dccef35c2d693.zip |
Add supression of SqlInjectionChecker.
Signed-off-by: Ole Ostergaard <ole.c.ostergaard@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/DB/Adapter.php | 3 | ||||
-rw-r--r-- | lib/private/DB/AdapterPgSql.php | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/DB/Adapter.php b/lib/private/DB/Adapter.php index 139b7828596..a9c20c735e0 100644 --- a/lib/private/DB/Adapter.php +++ b/lib/private/DB/Adapter.php @@ -127,6 +127,9 @@ class Adapter { } } + /* + * @suppress SqlInjectionChecker + */ public function insertIgnoreConflict($table, $input) : int { try { $builder = $this->conn->getQueryBuilder(); diff --git a/lib/private/DB/AdapterPgSql.php b/lib/private/DB/AdapterPgSql.php index 86f2fe2e384..de4fca3ebf4 100644 --- a/lib/private/DB/AdapterPgSql.php +++ b/lib/private/DB/AdapterPgSql.php @@ -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) |