1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-15 19:10:36 +01:00

Fix logica Hook Aggiornamenti

This commit is contained in:
Dasc3er 2021-09-17 10:46:07 +02:00
parent a4fda979aa
commit 75c745eb41

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;
}