diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-25 17:17:36 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-25 17:17:36 +0100 |
commit | 09ae1604637127189e7aaf6777243e8b84a89dd8 (patch) | |
tree | 17a90b98b43dd32538e050b9483e8675906b52c3 /lib/private/share | |
parent | c5046fb2a9e3cfd6c7a019517a9eff17fa6033c5 (diff) | |
download | nextcloud-server-09ae1604637127189e7aaf6777243e8b84a89dd8.tar.gz nextcloud-server-09ae1604637127189e7aaf6777243e8b84a89dd8.zip |
Replace other usages
Diffstat (limited to 'lib/private/share')
-rw-r--r-- | lib/private/share/share.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index c695e9a156b..96b920fe994 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -38,6 +38,7 @@ namespace OC\Share; use OC\Files\Filesystem; +use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IUserSession; use OCP\IDBConnection; use OCP\IConfig; @@ -426,7 +427,7 @@ class Share extends Constants { if (!empty($groups)) { $where = $fileDependentWhere . ' WHERE `' . $column . '` = ? AND `item_type` = ? AND `share_with` in (?)'; $arguments = array($itemSource, $itemType, $groups); - $types = array(null, null, \Doctrine\DBAL\Connection::PARAM_STR_ARRAY); + $types = array(null, null, IQueryBuilder::PARAM_STR_ARRAY); if ($owner !== null) { $where .= ' AND `uid_owner` = ?'; |