Bug 23215: DBRev 20.12.00.047

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-05-07 12:38:35 +00:00
parent 523b4533f8
commit f412878b64
3 changed files with 19 additions and 18 deletions

View file

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
$VERSION = "20.12.00.046";
$VERSION = "20.12.00.047";
sub version {
return $VERSION;

View file

@ -1,17 +0,0 @@
$DBversion = 'XXX';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
DELETE FROM systempreferences
WHERE variable IN
('EnablePayPalOpacPayments',
'PayPalChargeDescription',
'PayPalPwd',
'PayPalReturnURL',
'PayPalSandboxMode',
'PayPalSignature',
'PayPalUser');
});
NewVersion( $DBversion, 23215, "Remove core PayPal support in favor of the use of plugins");
}

View file

@ -24209,6 +24209,24 @@ if( CheckVersion( $DBversion ) ) {
NewVersion( $DBversion, 14723, "Additional delivery notes to messages" );
}
$DBversion = '20.12.00.047';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
DELETE FROM systempreferences
WHERE variable IN
('EnablePayPalOpacPayments',
'PayPalChargeDescription',
'PayPalPwd',
'PayPalReturnURL',
'PayPalSandboxMode',
'PayPalSignature',
'PayPalUser');
});
NewVersion( $DBversion, 23215, "Remove core PayPal support in favor of the use of plugins" );
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';