View | Details | Raw Unified | Return to bug 24151
Collapse All | Expand All

(-)a/Koha/PseudonymizedTransaction.pm (-1 / +10 lines)
Lines 33-39 Koha::PseudonymizedTransaction - Koha Koha::PseudonymizedTransaction Object clas Link Here
33
33
34
=head2 Class methods
34
=head2 Class methods
35
35
36
=head3 new
36
=head3 new_from_statistic
37
38
    Creates new object from a passed Koha::Statistic object
37
39
38
=cut
40
=cut
39
41
Lines 98-103 sub new_from_statistic { Link Here
98
    return $self;
100
    return $self;
99
}
101
}
100
102
103
=head3 get_hash
104
105
    Generates a hashed value for $s (e.g. borrowernumber) with Bcrypt.
106
    Needs config entry 'key' in koha-conf.
107
108
=cut
109
101
sub get_hash {
110
sub get_hash {
102
    my ( $class, $s ) = @_;
111
    my ( $class, $s ) = @_;
103
    my $key = C4::Context->config('key');
112
    my $key = C4::Context->config('key');
(-)a/Koha/PseudonymizedTransactions.pm (-1 / +4 lines)
Lines 43-48 sub _type { Link Here
43
    return 'PseudonymizedTransaction';
43
    return 'PseudonymizedTransaction';
44
}
44
}
45
45
46
=head3 object_class
47
48
=cut
49
46
sub object_class {
50
sub object_class {
47
    return 'Koha::PseudonymizedTransaction';
51
    return 'Koha::PseudonymizedTransaction';
48
}
52
}
49
- 

Return to bug 24151