From 5a1a07811bfdbb5e21794bdfdf5e0fefeb002c68 Mon Sep 17 00:00:00 2001 From: Irina Peshinskaya Date: Thu, 12 Jun 2014 13:01:02 +0300 Subject: [PATCH] MT#5879 Remove country_name wrapper. --- lib/NGCP/Schema/Result/contacts.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/NGCP/Schema/Result/contacts.pm b/lib/NGCP/Schema/Result/contacts.pm index e80ffedb..9d93e6b2 100644 --- a/lib/NGCP/Schema/Result/contacts.pm +++ b/lib/NGCP/Schema/Result/contacts.pm @@ -1,7 +1,6 @@ package NGCP::Schema::Result::contacts; use Scalar::Util qw(blessed); use parent 'DBIx::Class::Core'; -use Geography::Countries ();#exported by default too our $VERSION = '2.007'; @@ -149,11 +148,6 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); -sub country_name{ - my ($self) = @_; - return scalar Geography::Countries::country( $self->country ); -} - sub TO_JSON { my ($self) = @_; return {