From: Tobias Diekershoff Date: Sat, 5 Nov 2022 09:00:22 +0000 (+0100) Subject: When the profile is updated, let the Worker verify the homepage link X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c8636db9f6c784a6d95d8c27bbd712ca03af07c3;p=friendica.git When the profile is updated, let the Worker verify the homepage link --- diff --git a/src/Module/Settings/Profile/Index.php b/src/Module/Settings/Profile/Index.php index 14fe613c18..5c6f753ce7 100644 --- a/src/Module/Settings/Profile/Index.php +++ b/src/Module/Settings/Profile/Index.php @@ -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;