Problem/Motivation
This is a D7 backport of: #3050578: Remove unused function getSchemaUpdates()
Class ModuleUpdater defines a method getSchemaUpdates() which is not working and it is not used anywhere. We may want to remove it.
The method is deprecated in D10 as will be removed. In D7 the getSchemaUpdates() function does not work at all, because it contains a call to the _update_get_project_type() function, which is not defined. Therefore I think that it is pretty safe to remove it in D7 as well, to clean the code.
Proposed resolution
Remove the function. It cannot be used by contrib modules / custom code, because it cointains a call to an undefined function, so it is not working at all.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comments
Comment #2
poker10 commentedComment #3
poker10 commentedAdded a draft Change record for this. https://www.drupal.org/node/3386939
Comment #4
poker10 commentedAdding a tag for the review from another D7 maintainer before commit.
Comment #6
mcdruid commentedLess code is more good :)