This commit is contained in:
Pau Capó 2018-03-04 00:54:38 +01:00
parent 66619371ff
commit 54177285b3

View file

@ -90,6 +90,10 @@ class Gitea_Updater
}
}
$last_update = get_option('gitea_' . $type . '_updated');
echo $type . ' ' . $this->cache . ' ---- ' . ($last_update + $this->cache) < time() . "\n\n";
return ($last_update + $this->cache) < time();
}