CoreFiles by mySites.guru
restore_finalisation.php37 lines, 1,976 bytes, from Joomla_4.1.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha12
md5
07ed3b05b509290b95a41fe9b0133f5e
sha1
2b9b1cd9d2932e83c47cf8c1bfa4fe52206ef95b
sha256
b91a73d7bbf9bc6a759343552359e9f12455fcf19aeb3efe461319c6cc1ff4d9
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_joomlaupdate
 *
 * @copyright   (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 *
 * IMPORTANT! DO NOT REMOVE THIS FILE.
 *
 * This file is required for updating from Joomla 3.x and older 4.x versions to 4.0.4
 * and later versions.
 *
 * The reason is that old versions of Joomla use an older version of Joomla Update which is still
 * using an old and unmaintained version of Akeeba Restore to extract the update ZIP file. Akeeba
 * Restore will always try to include the file restore_finalisation.php at the end of the archive
 * extraction to let the just extracted version of Joomla run its post-extraction code which
 * removes obsolete files and allows the new version of Joomla to actually load. As a result every
 * new version of Joomla which needs to provide an upgrade path from Joomla 3.x or old versions of
 * Joomla 4.0 needs to include this file.
 *
 * This file can be safely removed once a new Joomla version is released which no longer provides an
 * update path from Joomla 3.x and older Joomla 4.0 versions. In theory, that would be Joomla 6.0 or
 * later.
 *
 * In practice, this might be sooner. Due to changes scheduled for PHP 9 (still in the planning
 * stage at the time of this writing, August 2021) the old version of Akeeba Restore is very likely
 * to stop working on newer PHP versions. As a result updating from the old versions of Joomla to
 * newer versions of Joomla with a minimum requirement of PHP 9 will not be possible. Therefore this
 * file can be removed when a Joomla version with a minimum requirement of PHP 9 will be released,
 * even if it nominally supports updating from older Joomla 4.0 versions. These versions will be
 * able to update to newer Joomla versions using the CLI updater.
 */

define('_JOOMLA_UPDATE', 1);

require_once __DIR__ . '/finalisation.php';

No other release has this exact content. See every version of this file.