Skip to content

Commit

Permalink
There is no more Geocoder->Countries
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Oct 22, 2012
1 parent f944c65 commit bcc82c5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/VegGuide/Vendor.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3329,19 +3329,10 @@ sub ActiveVendors {
sub UnGeocoded {
my $class = shift;

my @location_ids
= map { ( $_->descendant_ids(), $_->location_id() ) }
map { VegGuide::Location->new( name => $_ ) }
VegGuide::Geocoder->Countries();

my $table = $class->table();

return $class->VendorsWhere(
where => [
[
$table->location_id_c(),
'IN', @location_ids
],
[ $table->latitude_c(), '=', undef ],
[ $table->address1_c(), '!=', undef ],
[ $table->address1_c(), 'NOT LIKE', 'po%' ],
Expand Down

0 comments on commit bcc82c5

Please sign in to comment.