That just puts an item in the menu. You need to edit the admin/delete_spam_customers.php and add a new query there.
find the last $queries entry and right after it add:
$queries[] = array(
'name' => 'No login for 2 years',
'string' => "SELECT customers_info_id as customers_id FROM " . TABLE_CUSTOMERS_INFO . " WHERE customers_info_date_of_last_logon < '" . date('Y-m-d', strtotime("-2 years")) . "'");
Make a backup before you do this!
Bookmarks