Skip to content

Commit ae56da1

Browse files
nfebebackportbot[bot]
authored andcommitted
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: #46945 Signed-off-by: nfebe <[email protected]>
1 parent 5f63c89 commit ae56da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_sharing/lib/Activity/Settings/PublicLinksUpload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ public function canChangeMail() {
6161
* @since 11.0.0
6262
*/
6363
public function isDefaultEnabledMail() {
64-
return true;
64+
return false;
6565
}
6666
}

0 commit comments

Comments
 (0)