diff --git a/core/includes/common.inc b/core/includes/common.inc index f7118e429f..3ac6a10284 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -1214,13 +1214,13 @@ function debug($data, $label = NULL, $print_r = TRUE) { * caused the incompatibility. * * @deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use - * \Drupal\Core\Extension\VersionChecker::checkIncompatibility() instead. + * \Drupal\Component\Extension\VersionChecker::checkIncompatibility() instead. * - * @see \Drupal\Core\Extension\VersionChecker::checkIncompatibility + * @see \Drupal\Component\Extension\VersionChecker::checkIncompatibility * @see https://www.drupal.org/node/2756875 */ function drupal_check_incompatibility($v, $current_version) { - @trigger_error(__FUNCTION__ . ' is deprecated. Use \Drupal\Core\Extension\ModuleHandler::checkIncompatibility() instead. https://www.drupal.org/node/2756875', E_USER_DEPRECATED); + @trigger_error(__FUNCTION__ . ' is deprecated. Use \Drupal\Component\Extension\VersionChecker::checkIncompatibility() instead. https://www.drupal.org/node/2756875', E_USER_DEPRECATED); return VersionChecker::checkIncompatibility($v, $current_version); }