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

Remove plugin settings matching old DB key on uninstall #67

Closed
wants to merge 1 commit into from

Conversation

iodic
Copy link
Collaborator

@iodic iodic commented Jan 21, 2025

This changeset makes sure that both database entries containing the plugin settings are removed when uninstalling the plugin. Previously, only the current setting DB entry was being removed when uninstalling the plugin.

Because the plugin copies values from the old DB entry (facebook_config) to the new one (facebook_business_extension_config) when being run, the plugin never returns to an "empty" state when reinstalled on a machine that had an older version of the plugin which used the facebook_config options DB key.

@facebook-github-bot
Copy link
Contributor

@vahidkay-meta has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@vahidkay-meta merged this pull request in ad9eaeb.

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

Successfully merging this pull request may close these issues.

3 participants