Rename install file. Actually call the sub.
This commit is contained in:
parent
fc0312cb6d
commit
09c5b4cb9e
1 changed files with 3 additions and 1 deletions
|
|
@ -36,13 +36,15 @@ pod2usage( msg => "Must specify a config file!" ) unless $configFile;
|
|||
|
||||
my $session = start( $webguiRoot, $configFile );
|
||||
# Do your work here
|
||||
installCopySender($session);
|
||||
finish($session);
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Your sub here
|
||||
sub installCopySender {
|
||||
my $session = shift;
|
||||
return if $session->setting->get('inboxCopySender');
|
||||
return if $session->setting->has('inboxCopySender');
|
||||
$session->setting->add('inboxCopySender',0);
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
Loading…
Add table
Add a link
Reference in a new issue