Ignore:
Timestamp:
01/15/13 13:16:24 (11 years ago)
Author:
nanardon
Message:

Fix the Mail module name

This patch fix the call to Mail module. Beside the fix, the module declaration
use now "use" keyword to allow test to trigger errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Maintenance.pm

    r1180 r1217  
    66use LATMOS::Accounts::Log; 
    77use LATMOS::Accounts::Bases::Sql::DataRequest; 
     8use LATMOS::Accounts::Mail; 
    89use FindBin qw($Bin); 
    910 
     
    7980    my ($self, %options) = @_; 
    8081 
    81     require LATMOS::Account::Mail; 
    82     my $lamail = LATMOS::Account::Mail->new( 
     82    require LATMOS::Accounts::Mail; 
     83    my $lamail = LATMOS::Accounts::Mail->new( 
    8384        $self, 
    8485        'account_expire.mail', 
     
    141142        } else { 
    142143            if ($self->val('_default_', 'expire_summary_to')) { 
    143                 my $summail = LATMOS::Account::Mail->new( 
     144                my $summail = LATMOS::Accounts::Mail->new( 
    144145                    $self, 
    145146                    \join('', @summary), 
     
    185186    my ($self, %options) = @_; 
    186187    $options{delay} ||= '6 month'; 
    187  
    188     require LATMOS::Accounts::Mail; 
    189188 
    190189    my $lamail = LATMOS::Accounts::Mail->new( 
Note: See TracChangeset for help on using the changeset viewer.