i'm stupid
This commit is contained in:
parent
e880f1e937
commit
df5e6384f2
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
* Plugin Name: Gitea Updater
|
||||
* Plugin URI: http://www.paucapo.com
|
||||
* Description: Plugins updater
|
||||
* Version: 0.3.1
|
||||
* Version: 0.3.2
|
||||
* Author: Pau Capó
|
||||
* Author URI: http://www.paucapo.com
|
||||
* Text Domain: gitea
|
||||
|
|
@ -86,7 +86,7 @@ class Gitea_Updater
|
|||
return true;
|
||||
}
|
||||
$last_update = get_option('gitea_' . $type . '_updated');
|
||||
return ($last_update + $this->cache) > time();
|
||||
return ($last_update + $this->cache) < time();
|
||||
}
|
||||
|
||||
function get_plugins()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue