Fix permanenza hook di aggiornamento

This commit is contained in:
Thomas Zilio 2020-08-14 09:46:19 +02:00
parent 990b13947d
commit 71cf397906
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ class UpdateHook extends CachedManager
public function response()
{
$update = $this->getCache()->content;
if ($update == Update::getVersion()) {
$update = null;
}
$module = Modules::get('Aggiornamenti');
$link = ROOTDIR.'/controller.php?id_module='.$module->id;