From dd0692b9cf5850f23deb6137992411cfe34d92f9 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Mon, 15 Jan 2018 23:44:30 +0300 Subject: [PATCH] fixed #188 --- app/Utilities/Versions.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/Utilities/Versions.php b/app/Utilities/Versions.php index 1c4ef8aec..f82f7ef46 100644 --- a/app/Utilities/Versions.php +++ b/app/Utilities/Versions.php @@ -71,13 +71,6 @@ class Versions $data['core'] = static::getLatestVersion($url); - // API token required for modules - if (!setting('general.api_token')) { - Cache::put('versions', $data, Date::now()->addHour(6)); - - return $data; - } - // Then modules foreach ($modules as $module) { $alias = $module->get('alias');