Skip to content

Commit 5adca98

Browse files
authored
Revert "[6.0] Introduce Joomla 6.0 compatibility plugin (#45336)" (#45479)
This reverts commit cb6cb1d.
1 parent cb6cb1d commit 5adca98

File tree

41 files changed

+1384
-128
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1384
-128
lines changed

administrator/components/com_admin/script.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,6 @@ protected function uninstallExtensions()
287287
* ['type' => 'plugin', 'element' => 'demotasks', 'folder' => 'task', 'client_id' => 0, 'pre_function' => null],
288288
* ['type' => 'plugin', 'element' => 'compat', 'folder' => 'system', 'client_id' => 0, 'pre_function' => 'migrateCompatPlugin'],
289289
*/
290-
// Uninstall the old joomla 5 compatibility plugin
291-
['type' => 'plugin', 'element' => 'compat', 'folder' => 'system', 'client_id' => 0, 'pre_function' => null],
292290
];
293291

294292
$db = Factory::getDbo();
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
; Joomla! Project
2+
; (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
3+
; License GNU General Public License version 2 or later; see LICENSE.txt
4+
; Note : All ini files need to be saved as UTF-8
5+
6+
PLG_BEHAVIOUR_COMPAT="Behaviour - Backward Compatibility"
7+
PLG_COMPAT_FIELD_CLASSES_ALIASES_LABEL="Classes Aliases"
8+
PLG_COMPAT_FIELD_CLASSES_ALIASES_DESCRIPTION="Add class aliases for classes which have been renamed or moved to a namespace."
9+
PLG_COMPAT_FIELD_ES5_ASSETS_DESCRIPTION="Activate this option if your extension requires *.es5 assets which has resulted in an exception. The assets provided are empty but prevent the exception."
10+
PLG_COMPAT_FIELD_ES5_ASSETS_LABEL="ES5 Assets"
11+
PLG_COMPAT_FIELD_LEGACY_CLASSES_DESCRIPTION="Activate this option if your extension requires classes deprecated for the current version of Joomla. This includes those removed classes from the folder /plugins/behavior/compat/classes/."
12+
PLG_COMPAT_FIELD_LEGACY_CLASSES_LABEL="Include Deprecated Classes"
13+
PLG_COMPAT_FIELD_REMOVED_ASSETS_DESCRIPTION="Activate this option if your extension requires removed assets which has resulted in an exception. The assets provided are empty but prevent the exception."
14+
PLG_COMPAT_FIELD_REMOVED_ASSETS_LABEL="Removed Assets"
15+
PLG_COMPAT_XML_DESCRIPTION="If you use extensions which are not using the current Joomla Coding standards then this plugin, when enabled, will provide backward compatibility to the prior major version."
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
; Joomla! Project
2+
; (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
3+
; License GNU General Public License version 2 or later; see LICENSE.txt
4+
; Note : All ini files need to be saved as UTF-8
5+
6+
PLG_BEHAVIOUR_COMPAT="Behaviour - Backward Compatibility"
7+
PLG_COMPAT_XML_DESCRIPTION="Provides backward compatibility to the prior major version."

administrator/language/en-GB/plg_behaviour_compat6.ini

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,4 @@
44
; Note : All ini files need to be saved as UTF-8
55

66
PLG_BEHAVIOUR_COMPAT6="Behaviour - Backward Compatibility 6"
7-
PLG_COMPAT6_FIELD_CLASSES_ALIASES_DESCRIPTION="Add class aliases for classes which have been renamed or moved to a namespace."
8-
PLG_COMPAT6_FIELD_CLASSES_ALIASES_LABEL="Classes Aliases"
9-
PLG_COMPAT6_FIELD_LEGACY_CLASSES_DESCRIPTION="Activate this option if your extension requires classes deprecated for the current version of Joomla. This includes those removed classes from the folder /plugins/behavior/compat6/classes/."
10-
PLG_COMPAT6_FIELD_LEGACY_CLASSES_LABEL="Include Deprecated Classes"
11-
PLG_COMPAT6_FIELD_REMOVED_ASSETS_DESCRIPTION="Activate this option if your extension requires removed assets which has resulted in an exception. The assets provided are empty but prevent the exception."
12-
PLG_COMPAT6_FIELD_REMOVED_ASSETS_LABEL="Removed Assets"
13-
PLG_COMPAT6_XML_DESCRIPTION="If you use extensions which are not using the current Joomla Coding standards then this plugin, when enabled, will provide backward compatibility to the previous major version, Joomla 5."
7+
PLG_COMPAT6_XML_DESCRIPTION="This plugin should be enabled before updating to Joomla 6."

administrator/language/en-GB/plg_behaviour_compat6.sys.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
; Note : All ini files need to be saved as UTF-8
55

66
PLG_BEHAVIOUR_COMPAT6="Behaviour - Backward Compatibility 6"
7-
PLG_COMPAT6_XML_DESCRIPTION="If you use extensions which are not using the current Joomla Coding standards then this plugin, when enabled, will provide backward compatibility to the previous major version, Joomla 5."
7+
PLG_COMPAT6_XML_DESCRIPTION="This plugin should be enabled before updating to Joomla 6."

0 commit comments

Comments
 (0)