mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 05:14:34 -04:00
Message for closed registration (#8462)
* Add closed msg field i18n fix * Display based on registration type * Save as FreshRSS_Context::systemConf()->closed_registration_message instead * Improve messages * Revert unrelated changes * make fix-all * Minor whitespace * Simplify logic * Fix invalid use of empty() and sympler syntax --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
This commit is contained in:
@@ -65,7 +65,7 @@ class FreshRSS_user_Controller extends FreshRSS_ActionController {
|
||||
* Return if the maximum number of registrations has been reached.
|
||||
* Note a max_registrations of 0 means there is no limit.
|
||||
*
|
||||
* @return bool true if number of users >= max registrations, false else.
|
||||
* @return bool true if number of users >= max registrations, false otherwise.
|
||||
*/
|
||||
public static function max_registrations_reached(): bool {
|
||||
$limit_registrations = FreshRSS_Context::systemConf()->limits['max_registrations'];
|
||||
|
||||
Reference in New Issue
Block a user