eliminate warning about $conf redefinition
authorIvan Kohler <ivan@freeside.biz>
Wed, 14 Dec 2016 17:24:01 +0000 (09:24 -0800)
committerIvan Kohler <ivan@freeside.biz>
Wed, 14 Dec 2016 17:24:01 +0000 (09:24 -0800)
FS/FS/contact.pm

index 2dbe548..e49f6df 100644 (file)
@@ -888,8 +888,6 @@ sub send_reset_email {
 
   #email it
 
-  my $conf = new FS::Conf;
-
   my $cust_main = '';
   my @cust_contact = grep $_->selfservice_access, $self->cust_contact;
   $cust_main = $cust_contact[0]->cust_main if scalar(@cust_contact) == 1;