Fix logica Hook Aggiornamenti

This commit is contained in:
Dasc3er 2021-09-17 10:46:07 +02:00
parent a4fda979aa
commit 75c745eb41
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class UpdateHook extends CachedManager
public function response()
{
$update = $this->getCache()->content;
if ($update == Update::getVersion()) {
if ($update == Update::getVersion() || empty(setting('Attiva aggiornamenti'))) {
$update = null;
}