When the profile is updated, let the Worker verify the homepage link
This commit is contained in:
parent
30b9a57a37
commit
c8636db9f6
|
@ -38,6 +38,7 @@ use Friendica\Module\Security\Login;
|
|||
use Friendica\Network\HTTPException;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Temporal;
|
||||
use Friendica\Core\Worker;
|
||||
|
||||
class Index extends BaseSettings
|
||||
{
|
||||
|
@ -127,6 +128,8 @@ class Index extends BaseSettings
|
|||
DI::userSession()->getLocalUserId()
|
||||
);
|
||||
|
||||
Worker::add(Worker::PRIORITY_MEDIUM, 'CheckRelMeProfileLink', DI::userSession()->getLocalUserId());
|
||||
|
||||
if (!$result) {
|
||||
DI::sysmsg()->addNotice(DI::l10n()->t('Profile couldn\'t be updated.'));
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user