public static function clear_locations()
 {
     ESS_Database::init();
     ESS_Database::$sql = "DELETE FROM " . EM_LOCATIONS_TABLE . " WHERE ( \tlocation_address\tIS NULL OR location_address = '' ) " . " AND (\t\tlocation_town\t\tIS NULL OR location_town\t= '' ) " . " AND (\t\tlocation_state\t\tIS NULL OR location_state\t= '' ) " . " AND (\t\tlocation_postcode\tIS NULL OR location_postcode= '' ) " . " AND (\t\tlocation_region\t\tIS NULL OR location_region\t= '' ) " . " AND (\t\tlocation_country\tIS NULL OR location_country\t= '' ) ";
     //ESS_Database::add_error( ESS_Database::$sql );
     return ESS_Database::$wpdb->query(ESS_Database::$sql) === FALSE ? FALSE : TRUE;
 }