]> git.mxchange.org Git - friendica.git/commitdiff
When the profile is updated, let the Worker verify the homepage link
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 5 Nov 2022 09:00:22 +0000 (10:00 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 7 Nov 2022 10:15:55 +0000 (11:15 +0100)
src/Module/Settings/Profile/Index.php

index 14fe613c18249446fee9cb56a11cc0622c0cef51..5c6f753ce7b0f782425b283bcaad93d08608f73d 100644 (file)
@@ -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;