Bugzilla – Attachment 52003 Details for
Bug 15087
hardduedate should not be inserted as 0000-00-00 but NULL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15087 - Follow for koha-create
Bug-15087---Follow-for-koha-create.patch (text/plain), 1.29 KB, created by
Chris Cormack
on 2016-06-03 13:31:08 UTC
(
hide
)
Description:
Bug 15087 - Follow for koha-create
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2016-06-03 13:31:08 UTC
Size:
1.29 KB
patch
obsolete
>From e167635923e83af8935630fec387378f62e0a13b Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Wed, 17 Feb 2016 09:13:46 -0500 >Subject: [PATCH] Bug 15087 - Follow for koha-create > >Logic in the koha-create was requiring a DEFAULTSQL to trigger. >This patch moves it, such that --create-db will be registered >all the time. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > debian/scripts/koha-create | 17 +++++++++++------ > 1 file changed, 11 insertions(+), 6 deletions(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 2bc1329..16f4eeb 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -767,12 +767,6 @@ SET password = '$staffdigest' > WHERE borrowernumber = $ADMINUSER; > eof > >- cat > "/etc/koha/sites/$name/createoptions" << eof >-# do not edit this file, it is for record keeping purposes only >-REQUEST_DB=0 >-eof >- >- > #` > echo "staff user password is '$staffpass' but keep that secret" > >@@ -782,6 +776,17 @@ eof > else > echo "Koha instance is empty, no staff user created." > fi >+ >+ if [ "$op" = create ] >+ then >+ >+ cat > "/etc/koha/sites/$name/createoptions" << eof >+# do not edit this file, it is for record keeping purposes only >+REQUEST_DB=0 >+eof >+ >+ fi >+ > fi > > >-- >2.1.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 15087
:
44181
|
44194
|
44197
|
44198
|
44244
|
52003