Bugzilla – Attachment 51468 Details for
Bug 16288
Edifact sysprefs EDIfactEAN and EDIInvoicesShippingBudget problems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16288: (QA followup) Remove the syspref INSERT line
Bug-16288-QA-followup-Remove-the-syspref-INSERT-li.patch (text/plain), 2.07 KB, created by
Tomás Cohen Arazi
on 2016-05-13 13:09:02 UTC
(
hide
)
Description:
Bug 16288: (QA followup) Remove the syspref INSERT line
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2016-05-13 13:09:02 UTC
Size:
2.07 KB
patch
obsolete
>From a2318e8b7eef4e210ff402d7386f382b9051064b Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 13 May 2016 10:07:02 -0300 >Subject: [PATCH] Bug 16288: (QA followup) Remove the syspref INSERT line > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > installer/data/mysql/atomicupdate/removeoldsyspref.sql | 1 - > installer/data/mysql/updatedatabase.pl | 6 +----- > 2 files changed, 1 insertion(+), 6 deletions(-) > delete mode 100644 installer/data/mysql/atomicupdate/removeoldsyspref.sql > >diff --git a/installer/data/mysql/atomicupdate/removeoldsyspref.sql b/installer/data/mysql/atomicupdate/removeoldsyspref.sql >deleted file mode 100644 >index 38f4fff..0000000 >--- a/installer/data/mysql/atomicupdate/removeoldsyspref.sql >+++ /dev/null >@@ -1 +0,0 @@ >-DELETE FROM systempreferences where variable = 'EDIInvoicesShippingBudget'; >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 1cde4d6..7e87e78 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -12094,7 +12094,7 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { > } > > $DBversion = "3.23.00.045"; >-if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { >+if ( CheckVersion($DBversion) ) { > ## Holds details for vendors supplying goods by EDI > $dbh->do(q{ > CREATE TABLE IF NOT EXISTS vendor_edi_accounts ( >@@ -12186,10 +12186,6 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { > CONSTRAINT efk_branchcode FOREIGN KEY ( branchcode ) REFERENCES branches ( branchcode ) > ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; > }); >-## Syspref budget to hold shipping costs >- $dbh->do(q{ >- INSERT INTO systempreferences (variable, explanation, type) VALUES('EDIInvoicesShippingBudget','The budget code used to allocate shipping charges to when processing EDI Invoice messages', 'free'); >- }); > > ## Add a permission for managing EDI > $dbh->do(q{ >-- >2.8.2
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 16288
:
51462
|
51463
|
51466
|
51467
|
51468
|
51518
|
51519
|
51520
|
51521