mirror of
https://github.com/friendica/friendica
synced 2025-04-24 03:10:11 +00:00
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
0f9e2b6da4
commit
a20c6e3216
2 changed files with 1 additions and 2 deletions
|
@ -333,7 +333,6 @@ class Register extends BaseModule
|
|||
|
||||
if ($res) {
|
||||
DI::sysmsg()->addInfo(DI::l10n()->t('Registration successful. Please check your email for further instructions.'));
|
||||
$this->sendNotification($user, 'SYSTEM_REGISTER_NEW');
|
||||
if (DI::config()->get('system', 'register_notification')) {
|
||||
$this->sendNotification($user, 'SYSTEM_REGISTER_NEW');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue