aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryemkareems <yemkareems@gmail.com>2025-03-28 12:18:16 +0530
committeryemkareems <yemkareems@gmail.com>2025-03-28 12:18:16 +0530
commit70cb0b0b44eb82d405c229fe0f09ad577c98ca89 (patch)
treef9df61fff6a315082e61707761d8ce7fd1a1fa9c
parenta560c3e97d65ce5edcb55ad31387ee61711ee2a4 (diff)
downloadnextcloud-server-patch/76955/disable-notification-on-email-change.tar.gz
nextcloud-server-patch/76955/disable-notification-on-email-change.zip
fix: disable sending notification when email is changedpatch/76955/disable-notification-on-email-change
Signed-off-by: yemkareems <yemkareems@gmail.com>
-rw-r--r--apps/settings/lib/Hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Hooks.php b/apps/settings/lib/Hooks.php
index eb77b676914..09cacff2776 100644
--- a/apps/settings/lib/Hooks.php
+++ b/apps/settings/lib/Hooks.php
@@ -198,7 +198,7 @@ class Hooks {
$message = $this->mailer->createMessage();
$message->setTo([$oldMailAddress => $user->getDisplayName()]);
$message->useTemplate($template);
- $this->mailer->send($message);
+ //$this->mailer->send($message);
}
}
}