Bugzilla – Attachment 12932 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.22 KB, created by
Kyle M Hall (khall)
on 2012-10-19 11:59:23 UTC
(
hide
)
Description:
Bug 8782 - Close a subscription - Followup - Fix updatedatabase.pl
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-10-19 11:59:23 UTC
Size:
1.22 KB
patch
obsolete
>From a2aafa6b8bce2575cd66b0ea1b3f7eae508f773a 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 >Content-Type: text/plain; charset="utf-8" > >--- > installer/data/mysql/updatedatabase.pl | 9 ++++----- > 1 files 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.2.5
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