Add an Inbox setting to send the user a copy of messages that they send.

This commit is contained in:
Colin Kuskie 2009-05-13 17:50:46 +00:00
commit 0983f6468d
4 changed files with 57 additions and 21 deletions

View file

@ -37,6 +37,7 @@ addShippingDrivers( $session );
addTransactionTaxColumns( $session );
addListingsCacheTimeoutToMatrix( $session );
addSurveyFeedbackTemplateColumn( $session );
installCopySender($session);
finish($session);
@ -146,6 +147,14 @@ sub addSurveyFeedbackTemplateColumn {
}
#----------------------------------------------------------------------------
# Your sub here
sub installCopySender {
my $session = shift;
return if $session->setting->has('inboxCopySender');
$session->setting->add('inboxCopySender',0);
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
#----------------------------------------------------------------------------