Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(REF) CRM/Upgrade - Remove unused entrypoint verifyPreDBstate() #22237

Merged
merged 1 commit into from
Dec 10, 2021

Conversation

totten
Copy link
Member

@totten totten commented Dec 10, 2021

Overview

In olden times, upgraders sometimes implemented the method verifyPreDBstate(). However, this appears to be unused.
Additionally, it's not clear (from the documentation) how you would use it (if you wanted to).

So... simplify the code....

Before

Function exists. But it does nothing. Because no subclasses implement it.

After

Function does not exist. It still does nothing.

Overview
--------

In olden times, upgraders sometimes implemented the method `verifyPreDBstate()`. However, this appears to be unused.
Additionally, it's not clear (from the documentation) how you would use it (if you wanted to).

So...  simplify the code....

Before
------

Function exists. But it does nothing. Because no subclasses implement it.

After
-----

Function does not exist. It still does nothing.
@civibot
Copy link

civibot bot commented Dec 10, 2021

(Standard links)

@civibot civibot bot added the master label Dec 10, 2021
@colemanw colemanw merged commit b998240 into civicrm:master Dec 10, 2021
@colemanw
Copy link
Member

I saw nothing.

@demeritcowboy
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants