summaryrefslogtreecommitdiff
path: root/includes/jobs
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-06-02 16:31:02 +0200
committerRaindropsSys <contact@minteck.org>2023-06-02 16:31:02 +0200
commit48afc99d05c7bcd54231f340635f5102a03fbda4 (patch)
treebdad312490ee42b84dde71d5c49266f1b7fc792e /includes/jobs
parent82ef2e6f4fadb6ed721a0de79ec4d2fcfdc3f426 (diff)
downloadpluralconnect-48afc99d05c7bcd54231f340635f5102a03fbda4.tar.gz
pluralconnect-48afc99d05c7bcd54231f340635f5102a03fbda4.tar.bz2
pluralconnect-48afc99d05c7bcd54231f340635f5102a03fbda4.zip
Updated 7 files, added error.php and deleted 39 files (automated)
Diffstat (limited to 'includes/jobs')
-rw-r--r--includes/jobs/UpdateContactMethods.php2
1 files changed, 1 insertions, 1 deletions
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 = [];