Bugzilla – Attachment 42105 Details for
Bug 11807
Add categorycode conversions to LDAP authentication.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11807: (follow-up) remove date conversions
Bug-11807-follow-up-remove-date-conversions.patch (text/plain), 1.16 KB, created by
Joonas Kylmälä
on 2015-08-31 09:43:14 UTC
(
hide
)
Description:
Bug 11807: (follow-up) remove date conversions
Filename:
MIME Type:
Creator:
Joonas Kylmälä
Created:
2015-08-31 09:43:14 UTC
Size:
1.16 KB
patch
obsolete
>From 3f1c7e7275c9dfe01988a1d532904f9a56d2960c Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= <j.kylmala@gmail.com> >Date: Mon, 31 Aug 2015 09:41:34 +0000 >Subject: [PATCH] Bug 11807: (follow-up) remove date conversions > >--- > C4/Auth_with_ldap.pm | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > >diff --git a/C4/Auth_with_ldap.pm b/C4/Auth_with_ldap.pm >index 1c2ec96..421b4ee 100644 >--- a/C4/Auth_with_ldap.pm >+++ b/C4/Auth_with_ldap.pm >@@ -273,11 +273,7 @@ sub ldap_entry_2_hash { > . substr($borrower{ 'surname' },0,1) > . " "); > >- # Date and categorycode conversions >- $borrower{'dateexpiry'} = C4::Dates->new($borrower{'dateexpiry'},'sql')->output('iso') if $borrower{'dateexpiry'}; >- $borrower{'dateofbirth'} = C4::Dates->new($borrower{'dateofbirth'},'sql')->output('iso') if $borrower{'dateofbirth'}; >- $borrower{'dateenrolled'} = C4::Dates->new($borrower{'dateenrolled'},'sql')->output('iso') if $borrower{'dateenrolled'}; >- >+ # categorycode conversions > if(defined $categorycode_conversions{$borrower{categorycode}}) { > $borrower{categorycode} = $categorycode_conversions{$borrower{categorycode}}; > } >-- >1.9.1
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 11807
:
25526
|
42105
|
46182
|
46183
|
49789
|
49790