]> git.mxchange.org Git - friendica.git/blobdiff - mod/update_contact.php
Merge pull request #8850 from annando/fix-follow
[friendica.git] / mod / update_contact.php
index 5fb62e6a077de2ce919273c423f75a3c004698c1..4863ad02ded5b4935c7bac1d631006fea691c775 100644 (file)
@@ -28,7 +28,7 @@ use Friendica\Module\Contact;
 
 function update_contact_content(App $a)
 {
-       if ($_GET["force"] == 1) {
+       if (!empty($_GET['force']) || !DI::pConfig()->get(local_user(), 'system', 'no_auto_update')) {
                $text = Contact::content([], true);
        } else {
                $text = '';