]> git.mxchange.org Git - friendica-addons.git/commitdiff
Apply suggestions from code review
authorMichael Vogel <icarus@dabo.de>
Sun, 3 Oct 2021 20:01:43 +0000 (22:01 +0200)
committerGitHub <noreply@github.com>
Sun, 3 Oct 2021 20:01:43 +0000 (22:01 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
pumpio/pumpio.php

index 53ea8fe72e71465fc3af8e66b938de440bf9bbd7..bf7da3eca28da402f3e4764f9c4426bfdfc7b045 100644 (file)
@@ -720,9 +720,9 @@ function pumpio_sync(App $a)
                        }
 
                        if ($next_contact_check <= time()) {
-                               pumpio_getallusers($a, $rr["uid"]);
-                               DI::pConfig()->set($rr['uid'], 'pumpio', 'contact_check', time());
-                       }
+                       pumpio_getallusers($a, $rr["uid"]);
+                       DI::pConfig()->set($rr['uid'], 'pumpio', 'contact_check', time());
+               }
        }
 
        Logger::notice('pumpio: cron_end');