diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-01-10 13:06:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-10 13:06:20 +0100 |
commit | a5bf14ada3b7edab724fac30ea89996f1a10f157 (patch) | |
tree | 56196a13adb29196136d15dd3e848d8d84562fcd /lib | |
parent | 3fa715c2ab0c48aa141a5b2813b3fdcff88aeb8e (diff) | |
parent | 0c11209d33178a93cb8229573c445b49eaf2326f (diff) | |
download | nextcloud-server-a5bf14ada3b7edab724fac30ea89996f1a10f157.tar.gz nextcloud-server-a5bf14ada3b7edab724fac30ea89996f1a10f157.zip |
Merge pull request #2955 from nextcloud/make-share-by-mail-work-without-linkshares
share by mail should continue to work, even if public links are disabled
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Share20/Manager.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 6eab5e05a2f..acc142f62be 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -587,7 +587,6 @@ class Manager implements IManager { $share->setPassword($this->hasher->hash($share->getPassword())); } } else if ($share->getShareType() === \OCP\Share::SHARE_TYPE_EMAIL) { - $this->linkCreateChecks($share); $share->setToken( $this->secureRandom->generate( \OC\Share\Constants::TOKEN_LENGTH, |