Bugzilla – Attachment 7652 Details for
Bug 6875
de-nesting C4 packages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED_QA][PATCH 05]Bug 6875 de-nesting Auth.pm
patch.txt (text/plain), 1.57 KB, created by
Marcel de Rooy
on 2012-02-15 12:36:12 UTC
(
hide
)
Description:
[PASSED_QA][PATCH 05]Bug 6875 de-nesting Auth.pm
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2012-02-15 12:36:12 UTC
Size:
1.57 KB
patch
obsolete
>From 69c0fef111cba73fd5ec20c07ac56fd20863505d Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Fri, 16 Sep 2011 18:02:58 +0200 >Subject: [PATCH] Bug 6875 de-nesting Auth.pm >Content-Type: text/plain; charset="utf-8" > >* removed use C4::Koha that is useless >* moved "use C4::Members" to "require C4::Members" just before GetMemberDetails call. This will avoid loading C4::Member everytime a page is called by someone not logged > >* still to do = work on C4::VirtualShelves, that can be optimized, definetly ! > >Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> >Rebased on latest master, 28 Jan 2012 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Please WAIT with virtual shelves. Working on that.. >Tested and marked as Passed QA. >--- > C4/Auth.pm | 6 ++---- > 1 files changed, 2 insertions(+), 4 deletions(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index e4bd119..a855818 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -27,8 +27,6 @@ use CGI::Session; > require Exporter; > use C4::Context; > use C4::Templates; # to get the template >-use C4::Members; >-use C4::Koha; > use C4::Branch; # GetBranches > use C4::VirtualShelves; > use POSIX qw/strftime/; >@@ -188,8 +186,8 @@ sub get_template_and_user { > } > > $borrowernumber = getborrowernumber($user) if defined($user); >- >- my ( $borr ) = GetMemberDetails( $borrowernumber ); >+ require C4::Members; >+ my ( $borr ) = C4::Members::GetMemberDetails( $borrowernumber ); > my @bordat; > $bordat[0] = $borr; > $template->param( "USER_INFO" => \@bordat ); >-- >1.6.0.6 >
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 6875
:
5442
|
5443
|
5496
|
5497
|
5498
|
5499
|
5500
|
5501
|
5502
|
5503
|
5504
|
5505
|
5506
|
5507
|
5508
|
5509
|
5510
|
5511
|
5512
|
7359
|
7360
|
7361
|
7362
|
7363
|
7364
|
7365
|
7652
|
7654
|
7655
|
7656
|
7657
|
7658
|
7770
|
7771
|
7808
|
7844
|
8095
|
8133
|
8134
|
8135