]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/GContact.php
Remove deprecated App::is_mobile/is_tablet - replace with DI::mode()->isMobile()...
[friendica.git] / src / Model / GContact.php
index 0ad6df688f4e0434727b6c956733917bf68716ca..61e44b4106dff1f1cc5147e817c34c8e4ed8925e 100644 (file)
@@ -783,7 +783,7 @@ class GContact
                        return;
                }
 
-               if (!$force && !PortableContact::updateNeeded($gcontact['created'], $gcontact['updated'], $gcontact['last_failure'], $gcontact['last_contact'])) {
+               if (!$force && !GServer::updateNeeded($gcontact['created'], $gcontact['updated'], $gcontact['last_failure'], $gcontact['last_contact'])) {
                        Logger::info("Don't update profile", ['url' => $data['url'], 'updated' => $gcontact['updated']]);
                        return;
                }