Bugzilla – Attachment 78289 Details for
Bug 21068
Remove NorwegianPatronDB related code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21068: Remove table borrower_sync if needed
Bug-21068-Remove-table-borrowersync-if-needed.patch (text/plain), 1.08 KB, created by
Tomás Cohen Arazi (tcohen)
on 2018-08-29 19:17:07 UTC
(
hide
)
Description:
Bug 21068: Remove table borrower_sync if needed
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-08-29 19:17:07 UTC
Size:
1.08 KB
patch
obsolete
>From acf5441ec19c93b49ec09ec5438ee1ec9df5bf7d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 24 Aug 2018 17:00:31 -0300 >Subject: [PATCH] Bug 21068: Remove table borrower_sync if needed > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > installer/data/mysql/atomicupdate/bug_21068.perl | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/installer/data/mysql/atomicupdate/bug_21068.perl b/installer/data/mysql/atomicupdate/bug_21068.perl >index f881a684b3..46873a6be5 100644 >--- a/installer/data/mysql/atomicupdate/bug_21068.perl >+++ b/installer/data/mysql/atomicupdate/bug_21068.perl >@@ -7,6 +7,9 @@ if( CheckVersion( $DBversion ) ) { > DELETE FROM systempreferences > WHERE variable IN ('NorwegianPatronDBEnable', 'NorwegianPatronDBEndpoint', 'NorwegianPatronDBUsername', 'NorwegianPatronDBPassword', 'NorwegianPatronDBSearchNLAfterLocalHit') > |); >+ if ( TableExists('borrower_sync') ) { >+ $dbh->do(q|DROP TABLE borrower_sync|); >+ } > } > > SetVersion( $DBversion ); >-- >2.18.0
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 21068
:
77838
|
77839
|
78099
|
78100
|
78106
|
78107
|
78157
|
78287
|
78288
| 78289