Bugzilla – Attachment 106049 Details for
Bug 24151
Add a pseudonymization process for patrons and transactions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24151: (QA follow-up) Fix POD warnings from QA tools
Bug-24151-QA-follow-up-Fix-POD-warnings-from-QA-to.patch (text/plain), 1.71 KB, created by
Marcel de Rooy
on 2020-06-19 07:31:19 UTC
(
hide
)
Description:
Bug 24151: (QA follow-up) Fix POD warnings from QA tools
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2020-06-19 07:31:19 UTC
Size:
1.71 KB
patch
obsolete
>From 519a5fbbad35803f14ac4b7934aa8794260d6b72 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 19 Jun 2020 07:27:35 +0000 >Subject: [PATCH] Bug 24151: (QA follow-up) Fix POD warnings from QA tools >Content-Type: text/plain; charset=utf-8 > > POD is missing for get_hash > POD is missing for new_from_statistic > POD is missing for 'object_class' > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/PseudonymizedTransaction.pm | 11 ++++++++++- > Koha/PseudonymizedTransactions.pm | 4 ++++ > 2 files changed, 14 insertions(+), 1 deletion(-) > >diff --git a/Koha/PseudonymizedTransaction.pm b/Koha/PseudonymizedTransaction.pm >index 269597f3d9..4af91169ad 100644 >--- a/Koha/PseudonymizedTransaction.pm >+++ b/Koha/PseudonymizedTransaction.pm >@@ -33,7 +33,9 @@ Koha::PseudonymizedTransaction - Koha Koha::PseudonymizedTransaction Object clas > > =head2 Class methods > >-=head3 new >+=head3 new_from_statistic >+ >+ Creates new object from a passed Koha::Statistic object > > =cut > >@@ -98,6 +100,13 @@ sub new_from_statistic { > return $self; > } > >+=head3 get_hash >+ >+ Generates a hashed value for $s (e.g. borrowernumber) with Bcrypt. >+ Needs config entry 'key' in koha-conf. >+ >+=cut >+ > sub get_hash { > my ( $class, $s ) = @_; > my $key = C4::Context->config('key'); >diff --git a/Koha/PseudonymizedTransactions.pm b/Koha/PseudonymizedTransactions.pm >index c9e74e7522..06ea08a010 100644 >--- a/Koha/PseudonymizedTransactions.pm >+++ b/Koha/PseudonymizedTransactions.pm >@@ -43,6 +43,10 @@ sub _type { > return 'PseudonymizedTransaction'; > } > >+=head3 object_class >+ >+=cut >+ > sub object_class { > return 'Koha::PseudonymizedTransaction'; > } >-- >2.11.0
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 24151
:
95959
|
95960
|
95961
|
95962
|
95963
|
95964
|
95965
|
95966
|
95967
|
95968
|
95969
|
95970
|
95971
|
95972
|
95973
|
95974
|
95975
|
95976
|
97240
|
97241
|
97242
|
97243
|
97244
|
97245
|
97246
|
97247
|
97248
|
97249
|
97250
|
97251
|
97252
|
101034
|
101035
|
101036
|
101037
|
101038
|
101039
|
101040
|
101041
|
101042
|
101043
|
101044
|
101045
|
101046
|
101047
|
101048
|
101049
|
105801
|
105802
|
105803
|
105804
|
105805
|
105806
|
105807
|
105808
|
105809
|
105810
|
105811
|
105812
|
105813
|
105814
|
105815
|
105816
|
106032
|
106033
|
106034
|
106035
|
106036
|
106037
|
106038
|
106039
|
106040
|
106041
|
106042
|
106043
|
106044
|
106045
|
106046
|
106047
|
106048
| 106049 |
106195
|
106255
|
107127
|
107225