Bugzilla – Attachment 44078 Details for
Bug 10120
Fine recalculation on return needs to be a system preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10120: (QA followup) avoid raising warnings on upgrade
Bug-10120-QA-followup-avoid-raising-warnings-on-up.patch (text/plain), 1.44 KB, created by
Tomás Cohen Arazi (tcohen)
on 2015-10-27 15:11:50 UTC
(
hide
)
Description:
Bug 10120: (QA followup) avoid raising warnings on upgrade
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2015-10-27 15:11:50 UTC
Size:
1.44 KB
patch
obsolete
>From 9bae51666478a7f224611f46c4708d3b7d8c6e9b Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 27 Oct 2015 12:07:27 -0300 >Subject: [PATCH] Bug 10120: (QA followup) avoid raising warnings on upgrade > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > installer/data/mysql/updatedatabase.pl | 12 +++++------- > 1 file changed, 5 insertions(+), 7 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 03ae397..273611e 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -7019,13 +7019,11 @@ if(CheckVersion($DBversion)) { > > $DBversion = "3.13.00.006"; > if ( CheckVersion($DBversion) ) { >- $dbh->do( >- q{ >-INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('CalculateFinesOnReturn','1','Switch to control if overdue fines are calculated on return or not', '', 'YesNo'); >-} >- ); >- print >-"Upgrade to $DBversion done (Bug 10120 - Fines on item return controlled by a systempreference)\n"; >+ $dbh->do(q{ >+ INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) >+ VALUES ('CalculateFinesOnReturn','1','Switch to control if overdue fines are calculated on return or not', '', 'YesNo') >+ }); >+ print "Upgrade to $DBversion done (Bug 10120: Fines on item return controlled by a systempreference)\n"; > SetVersion($DBversion); > } > >-- >2.6.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 10120
:
17824
|
17825
|
17885
|
17886
|
17887
|
18143
|
18144
|
18145
| 44078