Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2021-10-03 22:01:43 +02:00 committed by GitHub
parent f9e758e2a8
commit 4340ebb2a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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