diff --git a/gitea-updater.php b/gitea-updater.php index 641b049..0ca6be3 100644 --- a/gitea-updater.php +++ b/gitea-updater.php @@ -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()