Bugzilla – Attachment 93822 Details for
Bug 21701
Have PayPal optionally return to originating OPAC url rather than OPACBaseURL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21701: Fix up db update
Bug-21701-Fix-up-db-update.patch (text/plain), 1.76 KB, created by
Kyle M Hall (khall)
on 2019-10-07 13:24:26 UTC
(
hide
)
Description:
Bug 21701: Fix up db update
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2019-10-07 13:24:26 UTC
Size:
1.76 KB
patch
obsolete
>From addef261455417cecf7138808986b6c8533dd469 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 7 Oct 2019 09:22:03 -0400 >Subject: [PATCH] Bug 21701: Fix up db update > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../atomicupdate/bug_21701_PayPalReturnURL.perl | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_21701_PayPalReturnURL.perl b/installer/data/mysql/atomicupdate/bug_21701_PayPalReturnURL.perl >index d62dbc1c0c..ca7f88bd92 100644 >--- a/installer/data/mysql/atomicupdate/bug_21701_PayPalReturnURL.perl >+++ b/installer/data/mysql/atomicupdate/bug_21701_PayPalReturnURL.perl >@@ -1,14 +1,10 @@ > $DBversion = 'XXX'; # will be replaced by the RM > if( CheckVersion( $DBversion ) ) { >- # you can use $dbh here like: >- # $dbh->do("INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('PayPalReturnURL','BaseURL','BaseURL|OPACAlias','Specify whether PayPal will return to the url specified in the OPACBaseURL option or to the OPAC\'s alias url.','Choice')" ); >+ $dbh->do(q{ >+ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) >+ VALUES ('PayPalReturnURL','BaseURL','BaseURL|OPACAlias','Specify whether PayPal will return to the url specified in the OPACBaseURL option or to the OPAC\'s alias url.','Choice') >+ }); > >- # or perform some test and warn >- # if( !column_exists( 'biblio', 'biblionumber' ) ) { >- # warn "There is something wrong"; >- # } >- >- # Always end with this (adjust the bug info) > SetVersion( $DBversion ); > print "Upgrade to $DBversion done (Bug 21701 - PayPal return URL option)\n"; > } >-- >2.21.0 (Apple Git-122)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21701
:
82103
|
93477
|
93821
| 93822