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

(-)a/installer/data/mysql/sysprefs.sql (+6 lines)
Lines 299-304 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
299
('PatronSelfRegistrationExpireTemporaryAccountsDelay','0',NULL,'If PatronSelfRegistrationDefaultCategory is enabled, this system preference controls how long a patron can have a temporary status before the account is deleted automatically. It is an integer value representing a number of days to wait before deleting a temporary patron account. Setting it to 0 disables the deleting of temporary accounts.','Integer'),
299
('PatronSelfRegistrationExpireTemporaryAccountsDelay','0',NULL,'If PatronSelfRegistrationDefaultCategory is enabled, this system preference controls how long a patron can have a temporary status before the account is deleted automatically. It is an integer value representing a number of days to wait before deleting a temporary patron account. Setting it to 0 disables the deleting of temporary accounts.','Integer'),
300
('PatronSelfRegistrationVerifyByEmail','0',NULL,'If enabled, any patron attempting to register themselves via the OPAC will be required to verify themselves via email to activate his or her account.','YesNo'),
300
('PatronSelfRegistrationVerifyByEmail','0',NULL,'If enabled, any patron attempting to register themselves via the OPAC will be required to verify themselves via email to activate his or her account.','YesNo'),
301
('PatronsPerPage','20','20','Number of Patrons Per Page displayed by default','Integer'),
301
('PatronsPerPage','20','20','Number of Patrons Per Page displayed by default','Integer'),
302
('EnablePayPalOpacPayments',  '0', NULL ,  'Enables the ability to pay fees and fines from  the OPAC via PayPal',  'YesNo' ),
303
('PayPalChargeDescription',  'Koha fee payment', NULL ,  'This preference defines what the user will see the charge listed as in PayPal',  'Free'),
304
('PayPalPwd',  '', NULL ,  'Your PayPal API password',  'Free'),
305
('PayPalSandboxMode',  '1', NULL ,  'If enabled, the system will use PayPal''s sandbox server for testing, rather than the production server.',  'YesNo'),
306
('PayPalSignature',  '', NULL ,  'Your PayPal API signature',  'Free'),
307
('PayPalUser',  '', NULL ,  'Your PayPal API username ( email address )',  'Free'),
302
('Persona','0','','Use Mozilla Persona for login','YesNo'),
308
('Persona','0','','Use Mozilla Persona for login','YesNo'),
303
('PrefillItem','0','','When a new item is added, should it be prefilled with last created item values?','YesNo'),
309
('PrefillItem','0','','When a new item is added, should it be prefilled with last created item values?','YesNo'),
304
('previousIssuesDefaultSortOrder','asc','asc|desc','Specify the sort order of Previous Issues on the circulation page','Choice'),
310
('previousIssuesDefaultSortOrder','asc','asc|desc','Specify the sort order of Previous Issues on the circulation page','Choice'),
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +17 lines)
Lines 8113-8118 if ( CheckVersion($DBversion) ) { Link Here
8113
    SetVersion ($DBversion);
8113
    SetVersion ($DBversion);
8114
}
8114
}
8115
8115
8116
$DBversion = "3.15.00.XXX";
8117
if ( CheckVersion($DBversion) ) {
8118
    $dbh->do(q{
8119
        INSERT INTO  systempreferences (variable, value, options, explanation, type )
8120
        VALUES 
8121
        ( 'EnablePayPalOpacPayments',  '0', NULL ,  'Enables the ability to pay fees and fines from  the OPAC via PayPal',  'YesNo' ),
8122
        ( 'PayPalChargeDescription',  'Koha fee payment', NULL ,  'This preference defines what the user will see the charge listed as in PayPal',  'Free' ),
8123
        ( 'PayPalPwd',  '', NULL ,  'Your PayPal API password',  'Free' ),
8124
        ( 'PayPalSandboxMode',  '1', NULL ,  'If enabled, the system will use PayPal''s sandbox server for testing, rather than the production server.',  'YesNo' ),
8125
        ( 'PayPalSignature',  '', NULL ,  'Your PayPal API signature',  'Free' ),
8126
        ( 'PayPalUser',  '', NULL ,  'Your PayPal API username ( email address )',  'Free' )
8127
    });
8128
8129
    print "Upgrade to $DBversion done (Bug 11622 - Add ability to pay fees and fines from OPAC via PayPal)\n";
8130
    SetVersion($DBversion);
8131
}
8132
8116
=head1 FUNCTIONS
8133
=head1 FUNCTIONS
8117
8134
8118
=head2 TableExists($table)
8135
=head2 TableExists($table)
8119
- 

Return to bug 11622