From 48afc99d05c7bcd54231f340635f5102a03fbda4 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Fri, 2 Jun 2023 16:31:02 +0200 Subject: Updated 7 files, added error.php and deleted 39 files (automated) --- includes/jobs/UpdateContactMethods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/jobs/UpdateContactMethods.php') diff --git a/includes/jobs/UpdateContactMethods.php b/includes/jobs/UpdateContactMethods.php index 2e9d27f..1341791 100644 --- a/includes/jobs/UpdateContactMethods.php +++ b/includes/jobs/UpdateContactMethods.php @@ -33,7 +33,7 @@ foreach ($methods as $name => $method) { "update" => 0 ]; - if (time() - $cache[$name][$contacts[$id][$name]]["update"] > 86400) { + if (time() - $cache[$name][$contacts[$id][$name]]["update"] > 86400 || isset($cache[$name][$contacts[$id][$name]]["data"]["error"])) { echo(" Information is out of date, updating it\n"); $return = []; -- cgit