Fix name typos in the shopSaleNotificationGroupId. Fixes bug #11207
This commit is contained in:
parent
63b797c875
commit
60d8ce370e
4 changed files with 19 additions and 1 deletions
|
|
@ -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 --------------------------------
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue