mirror of
https://github.com/friendica/friendica
synced 2025-04-27 10:30:10 +00:00
Issue 11535: Automatically open and close the registration
This commit is contained in:
parent
a63dc7a3d8
commit
72952d2c92
6 changed files with 334 additions and 282 deletions
|
@ -28,8 +28,8 @@ use Friendica\DI;
|
|||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\GServer;
|
||||
use Friendica\Model\Post;
|
||||
use Friendica\Model\User;
|
||||
use Friendica\Protocol\ActivityPub;
|
||||
use Friendica\Protocol\Delivery;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Strings;
|
||||
|
||||
|
@ -65,6 +65,9 @@ class Cron
|
|||
|
||||
// Directly deliver or requeue posts to other systems
|
||||
self::deliverPosts();
|
||||
|
||||
// Automatically open/close the registration based on the user count
|
||||
User::setRegisterMethodByUserCount();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue