removed token requirement for core update

This commit is contained in:
denisdulici
2017-09-21 18:07:30 +03:00
parent 3b3e3bbb66
commit 380bd753e3
3 changed files with 9 additions and 17 deletions

View File

@ -124,7 +124,7 @@ class Updater
// Get data from cache
$data = Cache::get('updates');
if (!empty($data) || !setting('general.api_token')) {
if (!empty($data)) {
return $data;
}