Disable default activity email for incoming shares

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-07-31 08:19:54 +02:00
parent 1ef19bb0ec
commit cf16087585
3 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ class RemoteShare implements ISetting {
* @since 11.0.0
*/
public function isDefaultEnabledMail() {
return true;
return false;
}
}

View File

@ -92,7 +92,7 @@ class Shared implements ISetting {
* @since 11.0.0
*/
public function isDefaultEnabledMail() {
return true;
return false;
}
}

View File

@ -31,7 +31,6 @@ use OC\Cache\CappedMemoryCache;
use OC\Files\Mount\MoveableMount;
use OC\HintException;
use OC\Share20\Exception\ProviderException;
use OCP\Defaults;
use OCP\Files\File;
use OCP\Files\Folder;
use OCP\Files\IRootFolder;
@ -42,6 +41,7 @@ use OCP\IGroupManager;
use OCP\IL10N;
use OCP\ILogger;
use OCP\IURLGenerator;
use OCP\IUser;
use OCP\IUserManager;
use OCP\Mail\IMailer;
use OCP\Security\IHasher;