From 6bbf137e50d20c6ce671ace876c3827dcd3aa3eb Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 10 Jan 2024 14:23:12 +0100 Subject: [PATCH] issue #2057 forgot to add a comment in the code --- include/common.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/common.inc.php b/include/common.inc.php index 3fe9bfab4..6d88c59e5 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -156,6 +156,7 @@ if (!isset($conf['piwigo_installed_version'])) } elseif ($conf['piwigo_installed_version'] != PHPWG_VERSION) { + // Piwigo has been updated "from filesystem" and not "from the administration UI". We mark it as an autoupdate in the system activities log pwg_activity('system', ACTIVITY_SYSTEM_CORE, 'autoupdate', array('from_version'=>$conf['piwigo_installed_version'], 'to_version'=>PHPWG_VERSION)); conf_update_param('piwigo_installed_version', PHPWG_VERSION); }