Bugzilla – Attachment 18807 Details for
Bug 8993
LDAP authentication improvements: multiple branch and transformation modules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8993 [Follow-up] update and replicate options used at wrong place
Bug-8993-Follow-up-update-and-replicate-options-us.patch (text/plain), 1.51 KB, created by
Julian Maurice
on 2013-06-10 07:45:23 UTC
(
hide
)
Description:
Bug 8993 [Follow-up] update and replicate options used at wrong place
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2013-06-10 07:45:23 UTC
Size:
1.51 KB
patch
obsolete
>From f1095020dd539bdc18bbfb8963cc253738ddfabc Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 22 Mar 2013 15:02:18 +0000 >Subject: [PATCH] Bug 8993 [Follow-up] update and replicate options used at wrong place > >update was used instead of replicate and vice versa >Also the package name of LDAPTransformation module was wrong. >--- > C4/Auth_with_ldap.pm | 4 ++-- > C4/LDAPTransform/RepeatableValues.pm | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/C4/Auth_with_ldap.pm b/C4/Auth_with_ldap.pm >index b8720af..abc0718 100644 >--- a/C4/Auth_with_ldap.pm >+++ b/C4/Auth_with_ldap.pm >@@ -182,11 +182,11 @@ sub accept_borrower { > my $newcommer = not $id; > > if ( $newcommer ) { >- return 0 unless $config{update}; >+ return 0 unless $config{replicate}; > $debug and logger { Member => $$borrower{column} }; > $id = AddMember( %{ $$borrower{column} } ) or return 0; > } else { >- if ( $config{replicate} ) { >+ if ( $config{update} ) { > delete $$borrower{column}{dateenrolled}; > delete $$borrower{column}{dateexpiry}; > $cardnumber = update_local >diff --git a/C4/LDAPTransform/RepeatableValues.pm b/C4/LDAPTransform/RepeatableValues.pm >index dc7c289..4608559 100644 >--- a/C4/LDAPTransform/RepeatableValues.pm >+++ b/C4/LDAPTransform/RepeatableValues.pm >@@ -1,4 +1,4 @@ >-package C4::LDAPTransform::Example; >+package C4::LDAPTransform::RepeatableValues; > > use warnings; > use strict; >-- >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 8993
:
13129
|
13130
|
13131
|
13132
|
14219
|
14460
|
14461
|
16659
|
16796
|
18804
|
18805
|
18806
|
18807
|
18808
|
21345
|
21346
|
21347
|
21348
|
21349
|
22580
|
22581
|
22582
|
22583
|
22584
|
22588
|
22589
|
22590
|
22591
|
22592
|
38270
|
38271
|
38273
|
38274