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/share20/defaultshareprovider.php | |
parent | c5046fb2a9e3cfd6c7a019517a9eff17fa6033c5 (diff) | |
download | nextcloud-server-09ae1604637127189e7aaf6777243e8b84a89dd8.tar.gz nextcloud-server-09ae1604637127189e7aaf6777243e8b84a89dd8.zip |
Replace other usages
Diffstat (limited to 'lib/private/share20/defaultshareprovider.php')
-rw-r--r-- | lib/private/share20/defaultshareprovider.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/private/share20/defaultshareprovider.php b/lib/private/share20/defaultshareprovider.php index 8c193c437d3..3d5462792cd 100644 --- a/lib/private/share20/defaultshareprovider.php +++ b/lib/private/share20/defaultshareprovider.php @@ -24,6 +24,7 @@ use OC\Share20\Exception\InvalidShare; use OC\Share20\Exception\ProviderException; use OC\Share20\Exception\ShareNotFound; use OC\Share20\Exception\BackendError; +use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\Files\NotFoundException; use OCP\IGroup; use OCP\IUser; @@ -33,8 +34,6 @@ use OCP\Files\IRootFolder; use OCP\IDBConnection; use OCP\Files\Node; -use Doctrine\DBAL\Connection; - /** * Class DefaultShareProvider * @@ -520,7 +519,7 @@ class DefaultShareProvider implements IShareProvider { $qb->where($qb->expr()->eq('share_type', $qb->createNamedParameter(\OCP\Share::SHARE_TYPE_GROUP))); $qb->andWhere($qb->expr()->in('share_with', $qb->createNamedParameter( $groups, - Connection::PARAM_STR_ARRAY + IQueryBuilder::PARAM_STR_ARRAY ))); $cursor = $qb->execute(); @@ -697,4 +696,4 @@ class DefaultShareProvider implements IShareProvider { return $share; } -}
\ No newline at end of file +} |