summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-01-19 14:35:16 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-01-21 15:56:44 +0100
commit0a9cd91e1d9baa8247fc2bbe1d02ede8340f2906 (patch)
treecd7ba2b58cea6bf75bfc69d3e13aa1bb0b1855a7 /lib
parent247b2ee0aa08664885aef2580b21c8b248b4424b (diff)
downloadnextcloud-server-0a9cd91e1d9baa8247fc2bbe1d02ede8340f2906.tar.gz
nextcloud-server-0a9cd91e1d9baa8247fc2bbe1d02ede8340f2906.zip
[Share 2.0] Add subfiles=x
Diffstat (limited to 'lib')
-rw-r--r--lib/private/share20/defaultshareprovider.php2
-rw-r--r--lib/private/share20/manager.php12
2 files changed, 1 insertions, 13 deletions
diff --git a/lib/private/share20/defaultshareprovider.php b/lib/private/share20/defaultshareprovider.php
index 4d1a72f6a13..e3e5909e901 100644
--- a/lib/private/share20/defaultshareprovider.php
+++ b/lib/private/share20/defaultshareprovider.php
@@ -279,9 +279,9 @@ class DefaultShareProvider implements IShareProvider {
if ($limit !== -1) {
$qb->setMaxResults($limit);
- $qb->setFirstResult($offset);
}
+ $qb->setFirstResult($offset);
$qb->orderBy('id');
$cursor = $qb->execute();
diff --git a/lib/private/share20/manager.php b/lib/private/share20/manager.php
index 7d454b26f00..3935307b977 100644
--- a/lib/private/share20/manager.php
+++ b/lib/private/share20/manager.php
@@ -679,18 +679,6 @@ class Manager {
}
/**
- * Get all shares that are shared with the current user
- *
- * @param int $shareType
- * @param int $page
- * @param int $perPage
- *
- * @return Share[]
- */
- public function getSharedWithMe($shareType = null, $page=0, $perPage=50) {
- }
-
- /**
* Get the share by token possible with password
*
* @param string $token