Bugzilla – Attachment 186031 Details for
Bug 40680
Many warnings on Perl 5.40 due to importing methods from not yet defined packages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40680: Remove duplicated code
Bug-40680-Remove-duplicated-code.patch (text/plain), 1.37 KB, created by
Jonathan Druart
on 2025-09-02 11:54:27 UTC
(
hide
)
Description:
Bug 40680: Remove duplicated code
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-09-02 11:54:27 UTC
Size:
1.37 KB
patch
obsolete
>From 978a8241075779c127d82f4efd67d8e73ce017e5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 2 Sep 2025 11:21:36 +0200 >Subject: [PATCH] Bug 40680: Remove duplicated code > >From commit b40ceb1cf5cb195f81347e090ade5e8bc3f316de > Bug 39367: Manual changes >--- > C4/Auth.pm | 23 ----------------------- > 1 file changed, 23 deletions(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index affc7ee43a2..df432910e06 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -136,29 +136,6 @@ sub safe_exit { > exit; > } > >-BEGIN { >- C4::Context->set_remote_address; >- >- require Exporter; >- @ISA = qw(Exporter); >- >- @EXPORT_OK = qw( >- checkauth check_api_auth get_session check_cookie_auth checkpw checkpw_internal checkpw_hash >- get_all_subpermissions get_cataloguing_page_permissions get_user_subpermissions in_iprange >- get_template_and_user haspermission create_basic_session >- ); >- >- $cas = C4::Context->preference('casAuthentication'); >- $caslogout = C4::Context->preference('casLogout'); >- >- if ($cas) { >- require C4::Auth_with_cas; # no import >- import C4::Auth_with_cas >- qw(check_api_auth_cas checkpw_cas login_cas logout_cas login_cas_url logout_if_required multipleAuth getMultipleAuth); >- } >- >-} >- > =head2 get_template_and_user > > my ($template, $borrowernumber, $cookie) >-- >2.34.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 40680
:
186031
|
186032
|
186033
|
186034
|
186035
|
186036
|
186037
|
186038
|
186039
|
186040
|
186041
|
186654
|
186655
|
186656
|
186657
|
186658
|
186659
|
186660
|
186661
|
186662
|
186663
|
186664
|
187122
|
187123
|
187124
|
187125
|
187126
|
187127
|
187128
|
187129
|
187130
|
187131
|
187132
|
187385
|
187609
|
187610
|
187611
|
187612
|
187613
|
187614
|
187615
|
187616
|
187617
|
187618
|
187619