mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
fixes #2388 hide update actions for dev mode extensions
This commit is contained in:
@@ -56,6 +56,12 @@ foreach ($autoupdate->types as $type)
|
||||
continue;
|
||||
}
|
||||
|
||||
// In dev mode, do not show update actions
|
||||
if ('auto' === $fs_ext['version'])
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$ext_info = $server_ext[$fs_ext['extension']];
|
||||
|
||||
if (!safe_version_compare($fs_ext['version'], $ext_info['revision_name'], '>='))
|
||||
|
||||
Reference in New Issue
Block a user