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 Name: Gitea Updater
|
||||||
* Plugin URI: http://www.paucapo.com
|
* Plugin URI: http://www.paucapo.com
|
||||||
* Description: Plugins updater
|
* Description: Plugins updater
|
||||||
* Version: 0.3.1
|
* Version: 0.3.2
|
||||||
* Author: Pau Capó
|
* Author: Pau Capó
|
||||||
* Author URI: http://www.paucapo.com
|
* Author URI: http://www.paucapo.com
|
||||||
* Text Domain: gitea
|
* Text Domain: gitea
|
||||||
|
|
@ -86,7 +86,7 @@ class Gitea_Updater
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
$last_update = get_option('gitea_' . $type . '_updated');
|
$last_update = get_option('gitea_' . $type . '_updated');
|
||||||
return ($last_update + $this->cache) > time();
|
return ($last_update + $this->cache) < time();
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_plugins()
|
function get_plugins()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue