Bugzilla – Attachment 12933 Details for
Bug 8782
Add a feature to close a subscription
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8782 - Close a subscription - Followup - Fix updatedatabase.pl
Bug-8782---Close-a-subscription---Followup---Fix-u.patch (text/plain), 1.24 KB, created by
Jonathan Druart
on 2012-10-19 12:05:18 UTC
(
hide
)
Description:
Bug 8782 - Close a subscription - Followup - Fix updatedatabase.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-10-19 12:05:18 UTC
Size:
1.24 KB
patch
obsolete
>From 888f91138a4fbd97d44f9fc4896a296b8c7730db Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 19 Oct 2012 07:58:48 -0400 >Subject: [PATCH] Bug 8782 - Close a subscription - Followup - Fix > updatedatabase.pl > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > installer/data/mysql/updatedatabase.pl | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index e7bf63a..5e22267 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -6013,11 +6013,10 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { > > $DBversion = "3.09.00.XXX"; > if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { >- if ( not column_exists( 'closed', 'subscription' ) ) { >- $dbh->do(qq{ >- ALTER TABLE subscription ADD COLUMN closed INT(1) NOT NULL DEFAULT 0 AFTER enddate; >- }); >- } >+ $dbh->do(qq{ >+ ALTER TABLE subscription ADD COLUMN closed INT(1) NOT NULL DEFAULT 0 AFTER enddate; >+ }); >+ > print "Upgrade to $DBversion done (Add field subscription.closed)\n"; > SetVersion($DBversion); > } >-- >1.7.10.4
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 8782
:
12305
|
12879
|
12909
|
12910
|
12930
|
12931
|
12932
|
12933
|
13741