Merge master 9.2.23

This commit is contained in:
fredtempez 2020-03-01 16:49:07 +01:00
parent e602d4df4c
commit 8c7efe9aa8

View File

@ -2248,7 +2248,6 @@ class layout extends common {
if( $this->getData(['config','autoUpdate']) === true &&
$lastAutoUpdate > $this->getData(['core','lastAutoUpdate']) + 604800 ) {
$this->setData(['core','lastAutoUpdate',$lastAutoUpdate]);
$this->saveData();
if ( helper::checkNewVersion(common::ZWII_UPDATE_CHANNEL) ) {
$rightItems .= '<li><a id="barUpdate" href="' . helper::baseUrl() . 'install/update" data-tippy-content="Mettre à jour Zwii '. common::ZWII_VERSION .' vers '. helper::getOnlineVersion(common::ZWII_UPDATE_CHANNEL) .'">' . template::ico('update colorRed') . '</a></li>';
}