summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-01-27 12:13:53 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-01-27 22:04:37 +0100
commit185b9c6edd56157f45c72800fdea104bd360925a (patch)
treed47fc798513a5d1e680451d24f81e43c1a5bc28e /apps/files_sharing/lib
parent0832cca54e09c9b1f04f3133cc1780ca6ab1ae3b (diff)
downloadnextcloud-server-185b9c6edd56157f45c72800fdea104bd360925a.tar.gz
nextcloud-server-185b9c6edd56157f45c72800fdea104bd360925a.zip
[Share 2.0] Move IShare to OCP
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/controllers/sharecontroller.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_sharing/lib/controllers/sharecontroller.php b/apps/files_sharing/lib/controllers/sharecontroller.php
index 6f9a8d742cc..407207c0efc 100644
--- a/apps/files_sharing/lib/controllers/sharecontroller.php
+++ b/apps/files_sharing/lib/controllers/sharecontroller.php
@@ -51,7 +51,6 @@ use OCA\Files_Sharing\Helper;
use OCP\Util;
use OCA\Files_Sharing\Activity;
use \OCP\Files\NotFoundException;
-use \OC\Share20\IShare;
use OCP\Files\IRootFolder;
/**
@@ -168,11 +167,11 @@ class ShareController extends Controller {
* This is a modified version of Helper::authenticate
* TODO: Try to merge back eventually with Helper::authenticate
*
- * @param IShare $share
+ * @param \OCP\Share\IShare $share
* @param string|null $password
* @return bool
*/
- private function linkShareAuth(IShare $share, $password = null) {
+ private function linkShareAuth(\OCP\Share\IShare $share, $password = null) {
if ($password !== null) {
if ($this->shareManager->checkPassword($share, $password)) {
$this->session->set('public_link_authenticated', (string)$share->getId());