diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-27 12:13:53 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-27 22:04:37 +0100 |
commit | 185b9c6edd56157f45c72800fdea104bd360925a (patch) | |
tree | d47fc798513a5d1e680451d24f81e43c1a5bc28e /apps/files_sharing/lib | |
parent | 0832cca54e09c9b1f04f3133cc1780ca6ab1ae3b (diff) | |
download | nextcloud-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.php | 5 |
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()); |