Permalink
Browse files

fix

  • Loading branch information...
1 parent 1ae2f61 commit 65c72308f3b6844640d1b4b9ec4bc1868043016a @djhworld committed Feb 13, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/PhotoEngine.rb
View
@@ -6,7 +6,6 @@ def initialize
end
def search_near_me(lat,long,rad,keywords)
- if cache_expired
FlickRaw.api_key="283720505822a34d2ab61c92f98cfc09"
FlickRaw.shared_secret="e6da9a52a9dcaed6"
photos = flickr.photos.search(:lat => lat, :lon => long, :has_geo=>1, :radius=>5, :radius_units=>"mi", :accuracy => 12, :min_upload_date=> (DateTime.now-(60*60)), :text=>keywords.first) #, :tags=>"gsxsw")
@@ -18,7 +17,6 @@ def search_near_me(lat,long,rad,keywords)
end
@cache_expires = Time.now+(60*CACHE_EXPIRY)
- end
@flickr_results
end

0 comments on commit 65c7230

Please sign in to comment.