mirror of
https://github.com/nextcloud/server.git
synced 2026-03-29 13:53:55 -04:00
fix: Set public link upload email notification to opt-in
This now sets `isDefaultEnabled` to false. This makes email notifications for file uploads to public links disabled by default (opt-in) for users. This addresses concerns about new notifications being enabled by default for existing users, leading to unexpected emails. Related: https://github.com/nextcloud/server/pull/46945 Signed-off-by: nfebe <fenn25.fn@gmail.com>
This commit is contained in:
parent
7231883ab0
commit
1f8a2307bd
1 changed files with 1 additions and 1 deletions
|
|
@ -61,6 +61,6 @@ class PublicLinksUpload extends ShareActivitySettings {
|
|||
* @since 11.0.0
|
||||
*/
|
||||
public function isDefaultEnabledMail() {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue