Fix name typos in the shopSaleNotificationGroupId. Fixes bug #11207

This commit is contained in:
Colin Kuskie 2009-11-05 13:10:25 -08:00
parent 63b797c875
commit 60d8ce370e
4 changed files with 19 additions and 1 deletions

View file

@ -8,6 +8,7 @@
- fixed Shop is not sending notification emails to the user, or to the notification group.
- Set a minimum package weight of 0.1 oz for the USPS driver.
- Handle per package errors in USPS response data.
- fixed #11207: Shop Email receipts going out to everyone.
7.8.3
- Rewrote Spectre's workflow queues to prevent it from "forgetting" about some workflows.

View file

@ -7,6 +7,14 @@ upgrading from one version to the next, or even between multiple
versions. Be sure to heed the warnings contained herein as they will
save you many hours of grief.
7.8.4
--------------------------------------------------------------------
* A bug introduced in 7.8.1 could cause the Shop sale notification
group to be reset to the group Everyone. The bug has been fixed,
and the group has been reset to Admins. If you were using a different
group, you will need to edit the Shop Settings and reselect the
proper group.
7.8.3
--------------------------------------------------------------------
* WebGUI now requires Locales::Country 0.05 or higher to use

View file

@ -34,6 +34,7 @@ my $session = start(); # this line required
dropSkipNotification($session);
addEMSSubmissionTables($session);
configEMSActivities($session);
resetShopNotificationGroup($session);
finish($session); # this line required
@ -170,6 +171,14 @@ sub dropSkipNotification {
print "Done.\n" unless $quiet;
}
#------------------------------------------------------------------------
sub resetShopNotificationGroup {
my $session = shift;
print "\tResetting the shop reciept notification group to Admins if it is set to Everyone... " unless $quiet;
$session->db->write(q{update settings set value='3' where name='shopSaleNotificationGroupId' and value='7'});
print "Done.\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
#----------------------------------------------------------------------------