From 71cf397906dab3d1eb99a64f6d0ecd55e6c63aa6 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Fri, 14 Aug 2020 09:46:19 +0200 Subject: [PATCH] Fix permanenza hook di aggiornamento --- modules/aggiornamenti/src/UpdateHook.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/aggiornamenti/src/UpdateHook.php b/modules/aggiornamenti/src/UpdateHook.php index d2a96bd28..904a7ccea 100755 --- a/modules/aggiornamenti/src/UpdateHook.php +++ b/modules/aggiornamenti/src/UpdateHook.php @@ -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;