[5.0] Remove pre-4.0.2 legacy update compatibility #40283
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request for Issue # .
Summary of Changes
This pull request (PR) removes the handling of legacy files of the Joomla Update component used when updating from 3.10 or 4.0.1 or an older 4.x version to a later 4.y version.
The handling of the legacy updater files had been added to version 4.0.2 with PR #35388 .
In detail the "restore_finalisation.php" had been replaced in the sources by "finalisation.php", and the file "restoration.php" which is generated during the update has been replaced by the generated file "update.php".
All this is removed by this PR here.
See also the text in the comment at the top of the removed "restore_finalisation.php" file:
As the update path to 5.x has to be from a 4.4 version, this is already fulfilled with 5.0 and not 6.0.
Testing Instructions
Code review of the changes here and the PR #35388 which had added the removed stuff.
Check that updating the latest 4.4-dev nightly build to the update package built by Drone for this PR here still works.
Actual result BEFORE applying this Pull Request
There is extra code for support of updating from 4.0.1 or older in the 5.0-dev branch.
Expected result AFTER applying this Pull Request
There is no extra code for support of updating from 4.0.1 or older in the 5.0-dev branch.
Link to documentations
Please select:
No documentation changes for docs.joomla.org needed
No documentation changes for manual.joomla.org needed