version
This commit is contained in:
parent
66619371ff
commit
54177285b3
1 changed files with 4 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue