Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment