Remove stray puts
This commit is contained in:
parent
2b997e70c2
commit
85e0736e5b
2 changed files with 8 additions and 9 deletions
|
|
@ -47,7 +47,6 @@ class ServicesController < ApplicationController
|
||||||
def finder
|
def finder
|
||||||
service = current_user.services.where(:type => "Services::#{params[:provider].titleize}").first
|
service = current_user.services.where(:type => "Services::#{params[:provider].titleize}").first
|
||||||
@friends = service ? service.finder(:remote => params[:remote]) : []
|
@friends = service ? service.finder(:remote => params[:remote]) : []
|
||||||
pp @friends.class
|
|
||||||
render :layout => false
|
render :layout => false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ class WebfingerProfile
|
||||||
pubkey = text_of_attribute( doc.at('Link[rel=diaspora-public-key]'), 'href')
|
pubkey = text_of_attribute( doc.at('Link[rel=diaspora-public-key]'), 'href')
|
||||||
@public_key = Base64.decode64 pubkey
|
@public_key = Base64.decode64 pubkey
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
puts "probally not diaspora..."
|
Rails.logger.info(:event => :invalid_profile, :identifier => @account)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue