aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/DAV/CustomPropertiesBackend.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-07-01 12:39:02 +0200
committerJoas Schilling <coding@schilljs.com>2024-07-19 11:21:13 +0200
commite9bfaf31b88bb69c8ff47bb3edc0148a93b41331 (patch)
tree5b23708db21266503c3693ff4f662b859822b442 /apps/dav/lib/DAV/CustomPropertiesBackend.php
parentc84580d53a68801f9ebab7f9cf0b7d4a642ab791 (diff)
downloadnextcloud-server-e9bfaf31b88bb69c8ff47bb3edc0148a93b41331.tar.gz
nextcloud-server-e9bfaf31b88bb69c8ff47bb3edc0148a93b41331.zip
fix(db): Don't use deprecated 3rdparty constant: `Doctrine\DBAL\Connection::PARAM_STR_ARRAY`
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/lib/DAV/CustomPropertiesBackend.php')
-rw-r--r--apps/dav/lib/DAV/CustomPropertiesBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/DAV/CustomPropertiesBackend.php b/apps/dav/lib/DAV/CustomPropertiesBackend.php
index ab62ae36c2c..f4dd9b2d038 100644
--- a/apps/dav/lib/DAV/CustomPropertiesBackend.php
+++ b/apps/dav/lib/DAV/CustomPropertiesBackend.php
@@ -411,7 +411,7 @@ class CustomPropertiesBackend implements BackendInterface {
// request only a subset
$sql .= ' AND `propertyname` in (?)';
$whereValues[] = $requestedProperties;
- $whereTypes[] = \Doctrine\DBAL\Connection::PARAM_STR_ARRAY;
+ $whereTypes[] = IQueryBuilder::PARAM_STR_ARRAY;
}
$result = $this->connection->executeQuery(