30knees Posted June 3, 2023 Share Posted June 3, 2023 (edited) I uninstalled the block newsletter module to get rid of loads of spam registrations. When I reinstalled it, the customers who are marked as subscribers showed up in the module again. Where are the registrations stored that are not customers? I didn't find them in the database. Edited June 3, 2023 by 30knees Link to comment Share on other sites More sharing options...
the.rampage.rado Posted June 3, 2023 Share Posted June 3, 2023 tb(or ps)_newsletter 1 Link to comment Share on other sites More sharing options...
e-com Posted June 3, 2023 Share Posted June 3, 2023 3 hours ago, 30knees said: I uninstalled the block newsletter module to get rid of loads of spam registrations. When I reinstalled it, the customers who are marked as subscribers showed up in the module again. Where are the registrations stored that are not customers? I didn't find them in the database. Strange that you see subscribers not customers after uninstalling module. Because uninstall method deletes its table in database: public function uninstall() { Db::getInstance()->execute('DROP TABLE ' . _DB_PREFIX_ . 'newsletter'); return parent::uninstall(); } Link to comment Share on other sites More sharing options...
30knees Posted June 4, 2023 Author Share Posted June 4, 2023 19 hours ago, e-com said: Strange that you see subscribers not customers after uninstalling module. Because uninstall method deletes its table in database: public function uninstall() { Db::getInstance()->execute('DROP TABLE ' . _DB_PREFIX_ . 'newsletter'); return parent::uninstall(); } Customers who are subscribers, not who are not...so all good. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now