Fix permanenza hook di aggiornamento
This commit is contained in:
parent
990b13947d
commit
71cf397906
|
@ -27,6 +27,9 @@ class UpdateHook extends CachedManager
|
||||||
public function response()
|
public function response()
|
||||||
{
|
{
|
||||||
$update = $this->getCache()->content;
|
$update = $this->getCache()->content;
|
||||||
|
if ($update == Update::getVersion()) {
|
||||||
|
$update = null;
|
||||||
|
}
|
||||||
|
|
||||||
$module = Modules::get('Aggiornamenti');
|
$module = Modules::get('Aggiornamenti');
|
||||||
$link = ROOTDIR.'/controller.php?id_module='.$module->id;
|
$link = ROOTDIR.'/controller.php?id_module='.$module->id;
|
||||||
|
|
Loading…
Reference in New Issue