Rename install file. Actually call the sub.

This commit is contained in:
Colin Kuskie 2009-03-10 13:24:12 -07:00
parent fc0312cb6d
commit 09c5b4cb9e

View file

@ -36,13 +36,15 @@ pod2usage( msg => "Must specify a config file!" ) unless $configFile;
my $session = start( $webguiRoot, $configFile ); my $session = start( $webguiRoot, $configFile );
# Do your work here # Do your work here
installCopySender($session);
finish($session); finish($session);
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# Your sub here # Your sub here
sub installCopySender { sub installCopySender {
my $session = shift; my $session = shift;
return if $session->setting->get('inboxCopySender'); return if $session->setting->has('inboxCopySender');
$session->setting->add('inboxCopySender',0);
} }
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------