mirror of
https://github.com/friendica/friendica
synced 2025-04-24 03:10:11 +00:00
Replace deprecated log
calls
This commit is contained in:
parent
353cd66b26
commit
f6faae5bb1
28 changed files with 163 additions and 163 deletions
|
@ -82,7 +82,7 @@ class Register extends BaseModule
|
|||
if ($max_dailies) {
|
||||
$count = DBA::count('user', ['`register_date` > UTC_TIMESTAMP - INTERVAL 1 day']);
|
||||
if ($count >= $max_dailies) {
|
||||
Logger::log('max daily registrations exceeded.');
|
||||
Logger::notice('max daily registrations exceeded.');
|
||||
notice(DI::l10n()->t('This site has exceeded the number of allowed daily account registrations. Please try again tomorrow.'));
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue