Verified Commit 8e42cef1 authored by Dave Long's avatar Dave Long
Browse files

Issue #3050578 by elber, quietone, nitin_lama, fengtan, smustgrave, catch,...

Issue #3050578 by elber, quietone, nitin_lama, fengtan, smustgrave, catch, karolinam: Remove unused function getSchemaUpdates()
parent ee81f7be
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -80,8 +80,14 @@ public static function canUpdate($project_name) {
   * Returns available database schema updates once a new version is installed.
   *
   * @return array
   *
   * @deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use
   * \Drupal\Core\Update\UpdateHookRegistry::getAvailableUpdates() instead.
   *
   * @see https://www.drupal.org/node/3359445
   */
  public function getSchemaUpdates() {
    @trigger_error(__METHOD__ . "() is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Update\UpdateHookRegistry::getAvailableUpdates() instead. https://www.drupal.org/node/3359445", E_USER_DEPRECATED);
    require_once DRUPAL_ROOT . '/core/includes/install.inc';
    require_once DRUPAL_ROOT . '/core/includes/update.inc';