30knees Posted June 3, 2023 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
e-com Posted June 3, 2023 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(); }
30knees Posted June 4, 2023 Author 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.
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