Skip to content
Snippets Groups Projects
Commit e2193ac1 authored by Georg Ringer's avatar Georg Ringer Committed by Benni Mack
Browse files

[TASK] Respect extension state `excludeFromUpdates` during language updates

If the state property inside `ext_emconf.php` is set to `excludeFromUpdates`,
the extension will be skipped while updating the language files in the Install Tool.

Resolves: master
Releases: #90236
Change-Id: I741216e7fac18aeb3e1144033495c2f2943d496f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63065


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent ed335f18
Branches
Tags
No related merge requests found
.. include:: ../../Includes.txt
========================================================================================
Important: #90236 - Respect extension state `excludeFromUpdates` during language updates
========================================================================================
See :issue:`90236`
Description
===========
If the state property inside :file:`ext_emconf.php` is set to `excludeFromUpdates`,
the extension will be skipped while updating the language files in the Install Tool.
This setting is especially helpful if you create a custom extension which uses the same extension
key as an existing TER extension.
.. index:: Backend, ext:core
......@@ -159,6 +159,11 @@ class LanguagePackService implements LoggerAwareInterface
$EM_CONF = [];
include $path . 'ext_emconf.php';
$title = $EM_CONF[$key]['title'] ?? $title;
$state = $EM_CONF[$key]['state'] ?? '';
if ($state === 'excludeFromUpdates') {
continue;
}
}
$extension = [
'key' => $key,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment