We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 05ff8925 authored by Evan Prodromou's avatar Evan Prodromou

prevent email notification on replies by sandboxed users

parent 2ad4de45
......@@ -595,6 +595,10 @@ function mail_notify_attn($user, $notice)
$sender = $notice->getProfile();
if (!$sender->hasRight(Right::EMAILONREPLY)) {
return;
}
$bestname = $sender->getBestName();
common_init_locale($user->language);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment