View | Details | Raw Unified | Return to bug 20755
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_20755-add_acquisitionsdefaultemailaddress_syspref.pl (-4 / +4 lines)
Lines 9-36 return { Link Here
9
9
10
        $dbh->do(
10
        $dbh->do(
11
            q{
11
            q{
12
                INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('AcquisitionsDefaultEMailAddress', '', NULL, NULL, NULL);
12
                INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('AcquisitionsDefaultEMailAddress', '', NULL, "Default email address  that acquisition notices are sent from.", 'Free');
13
            }
13
            }
14
        );
14
        );
15
        say $out "Added new system preference 'AcquisitionsDefaultEMailAddress'";
15
        say $out "Added new system preference 'AcquisitionsDefaultEMailAddress'";
16
16
17
        $dbh->do(
17
        $dbh->do(
18
            q{
18
            q{
19
                INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('AcquisitionsDefaultReplyTo', '', NULL, NULL, NULL);
19
                INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('AcquisitionsDefaultReplyTo', '', NULL, "Default email address used as reply-to for notices sent by the acquisitions module.", 'Free');
20
            }
20
            }
21
        );
21
        );
22
        say $out "Added new system preference 'AcquisitionsDefaultReplyTo'";
22
        say $out "Added new system preference 'AcquisitionsDefaultReplyTo'";
23
23
24
        $dbh->do(
24
        $dbh->do(
25
            q{
25
            q{
26
                INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('SerialsDefaultEMailAddress', '', NULL, NULL, NULL);
26
                INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('SerialsDefaultEMailAddress', '', NULL, "Default email address that serials notices are sent from.", 'Free');
27
            }
27
            }
28
        );
28
        );
29
        say $out "Added new system preference 'SerialsDefaultEMailAddress'";
29
        say $out "Added new system preference 'SerialsDefaultEMailAddress'";
30
30
31
        $dbh->do(
31
        $dbh->do(
32
            q{
32
            q{
33
                INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('SerialsDefaultReplyTo', '', NULL, NULL, NULL);
33
                INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('SerialsDefaultReplyTo', '', NULL, "Default email address used as reply-to for notices sent by the serials module.", 'Free');
34
            }
34
            }
35
        );
35
        );
36
        say $out "Added new system preference 'SerialsDefaultReplyTo'";
36
        say $out "Added new system preference 'SerialsDefaultReplyTo'";
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-5 / +4 lines)
Lines 7-14 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
7
('AcqItemSetSubfieldsWhenReceived','','','Upon receiving items, update their subfields if they were created when placing an order (e.g. o=5|a="foo bar")','Free'),
7
('AcqItemSetSubfieldsWhenReceived','','','Upon receiving items, update their subfields if they were created when placing an order (e.g. o=5|a="foo bar")','Free'),
8
('AcquisitionDetails', '1', '', 'Hide/Show acquisition details on the biblio detail page.', 'YesNo'),
8
('AcquisitionDetails', '1', '', 'Hide/Show acquisition details on the biblio detail page.', 'YesNo'),
9
('AcquisitionLog','0',NULL,'If ON, log acquisitions activity','YesNo'),
9
('AcquisitionLog','0',NULL,'If ON, log acquisitions activity','YesNo'),
10
('AcquisitionsDefaultEMailAddress', '', NULL, NULL, NULL),
10
('AcquisitionsDefaultEMailAddress', '', NULL, 'Default email address  that acquisition notices are sent from', 'Free'),
11
('AcquisitionsDefaultReplyTo', '', NULL, NULL, NULL),
11
('AcquisitionsDefaultReplyTo', '', NULL, "Default email address used as reply-to for notices sent by the acquisitions module.", 'Free'),
12
('AcqViewBaskets','user','user|branch|all','Define which baskets a user is allowed to view: their own only, any within their branch, or all','Choice'),
12
('AcqViewBaskets','user','user|branch|all','Define which baskets a user is allowed to view: their own only, any within their branch, or all','Choice'),
13
('AcqWarnOnDuplicateInvoice','0','','Warn librarians when they try to create a duplicate invoice','YesNo'),
13
('AcqWarnOnDuplicateInvoice','0','','Warn librarians when they try to create a duplicate invoice','YesNo'),
14
('ActionLogsTraceDepth', '0', '', 'Sets the maximum depth of the action logs stack trace', 'Integer'),
14
('ActionLogsTraceDepth', '0', '', 'Sets the maximum depth of the action logs stack trace', 'Integer'),
Lines 674-681 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
674
('SendAllEmailsTo','',NULL,'All emails will be redirected to this email if it is not empty','free'),
674
('SendAllEmailsTo','',NULL,'All emails will be redirected to this email if it is not empty','free'),
675
('SeparateHoldings','0',NULL,'Separate current branch holdings from other holdings','YesNo'),
675
('SeparateHoldings','0',NULL,'Separate current branch holdings from other holdings','YesNo'),
676
('SeparateHoldingsBranch','homebranch','homebranch|holdingbranch','Branch used to separate holdings','Choice'),
676
('SeparateHoldingsBranch','homebranch','homebranch|holdingbranch','Branch used to separate holdings','Choice'),
677
('SerialsDefaultEMailAddress', '', NULL, NULL, NULL),
677
('SerialsDefaultEMailAddress', '', NULL, 'Default email address used as reply-to for notices sent by the serials module.', 'Free'),
678
('SerialsDefaultReplyTo', '', NULL, NULL, NULL),
678
('SerialsDefaultReplyTo', '', NULL, 'Default email address that serials notices are sent from.', 'Free'),
679
('SessionRestrictionByIP','1','Check for change in remote IP address for session security. Disable only when remote IP address changes frequently.','','YesNo'),
679
('SessionRestrictionByIP','1','Check for change in remote IP address for session security. Disable only when remote IP address changes frequently.','','YesNo'),
680
('SessionStorage','mysql','mysql|Pg|tmp','Use database or a temporary file for storing session data','Choice'),
680
('SessionStorage','mysql','mysql|Pg|tmp','Use database or a temporary file for storing session data','Choice'),
681
('ShelfBrowserUsesCcode','1','0','Use the item collection code when finding items for the shelf browser.','YesNo'),
681
('ShelfBrowserUsesCcode','1','0','Use the item collection code when finding items for the shelf browser.','YesNo'),
682
- 

Return to bug 20755