app/models/phcmemberspro/members/contact.rb in phcmemberspro-5.3.10 vs app/models/phcmemberspro/members/contact.rb in phcmemberspro-5.4.0
- old
+ new
@@ -1,12 +1,7 @@
module Phcmemberspro
class Members::Contact < ActiveRecord::Base
- # Account Scope
- def self.scoped_to(useraccount)
- where(:user_id => current_user.id)
- end
-
# Translate Country Code to Name
def country_name
country = ISO3166::Country[mccountry]
country.translations[I18n.locale.to_s] || country.name
end