Fix logica Hook Aggiornamenti
This commit is contained in:
parent
a4fda979aa
commit
75c745eb41
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue