From df5e6384f2ae7ed0292111c081be05ec6e843f92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Cap=C3=B3?= Date: Sat, 3 Mar 2018 23:51:45 +0100 Subject: [PATCH] i'm stupid --- gitea-updater.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()