Issue #3123376 by swatichouhan012, johndevman, longwave, xjm:...
Issue #3123376 by swatichouhan012, johndevman, longwave, xjm: update_fix_incompatibility() is (theoretically) dead code, but is also theoretically dangerous
Changes for core/includes/update.inc: 0 added lines, 30 removed lines.
Original line number
Diff line number
Diff line
@@ -9,38 +9,8 @@
*/
useDrupal\Component\Graph\Graph;
useDrupal\Core\Update\UpdateKernel;
useDrupal\Core\Utility\Error;
/**
* Disables any extensions that are incompatible with the current core version.
*
* @deprecated in Drupal 8.8.4 and is removed from Drupal 9.0.0.
*
* @see https://www.drupal.org/node/3026100
*/
functionupdate_fix_compatibility(){
@trigger_error(__FUNCTION__.'() is deprecated in Drupal 8.8.4 and will be removed before Drupal 9.0.0. There is no replacement. See https://www.drupal.org/node/3026100',E_USER_DEPRECATED);
// Fix extension objects if the update is being done via Drush 8. In non-Drush
// environments this will already be fixed by the UpdateKernel this point.
* @expectedDeprecation update_fix_compatibility() is deprecated in Drupal 8.8.4 and will be removed before Drupal 9.0.0. There is no replacement. See https://www.drupal.org/node/3026100