hook_uninstall() does the wrong thing with config settings

Contribution Date
Technology
Contribution Project
Contribution Details

Code was added to hook_uninstall() in order to try to delete the Honeypot config settings. Specifically, this line was added:
\Drupal::configFactory()->getEditable('honeypot.settings.yml')->delete();

The added code deletes the configuration "honeypot.settings.yml" - but there IS NO SUCH configuration. The only configuration defined is "honeypot.settings". Because there is no such configuration. We can remove this line.

Issue Status
Reviewed and Tested by Community
Contribution Author
Files count
1
Patches count
0