Jump to content
thirty bees forum

Recommended Posts

Posted (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 by 30knees
  • 30knees changed the title to Block newsletter - deleting spam registrations
Posted
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();
    }

 

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...