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

(-)a/Koha/Borrower/Modifications.pm (-8 / +8 lines)
Lines 53-59 sub new { Link Here
53
    return $self;
53
    return $self;
54
}
54
}
55
55
56
=head AddModifications
56
=head2 AddModifications
57
57
58
Koha::Borrower::Modifications->AddModifications( %data );
58
Koha::Borrower::Modifications->AddModifications( %data );
59
59
Lines 105-111 sub AddModifications { Link Here
105
    }
105
    }
106
}
106
}
107
107
108
=head Verify
108
=head2 Verify
109
109
110
$verified = Koha::Borrower::Modifications->Verify( $verification_token );
110
$verified = Koha::Borrower::Modifications->Verify( $verification_token );
111
111
Lines 136-142 sub Verify { Link Here
136
    return $result->{'count'};
136
    return $result->{'count'};
137
}
137
}
138
138
139
=head GetPendingModificationsCount
139
=head2 GetPendingModificationsCount
140
140
141
$count = Koha::Borrower::Modifications->GetPendingModificationsCount();
141
$count = Koha::Borrower::Modifications->GetPendingModificationsCount();
142
142
Lines 167-173 sub GetPendingModificationsCount { Link Here
167
    return $result->{'count'};
167
    return $result->{'count'};
168
}
168
}
169
169
170
=head GetPendingModifications
170
=head2 GetPendingModifications
171
171
172
$arrayref = Koha::Borrower::Modifications->GetPendingModifications();
172
$arrayref = Koha::Borrower::Modifications->GetPendingModifications();
173
173
Lines 207-213 sub GetPendingModifications { Link Here
207
    return \@m;
207
    return \@m;
208
}
208
}
209
209
210
=head ApproveModifications
210
=head2 ApproveModifications
211
211
212
Koha::Borrower::Modifications->ApproveModifications( $borrowernumber );
212
Koha::Borrower::Modifications->ApproveModifications( $borrowernumber );
213
213
Lines 233-239 sub ApproveModifications { Link Here
233
    }
233
    }
234
}
234
}
235
235
236
=head DenyModifications
236
=head2 DenyModifications
237
237
238
Koha::Borrower::Modifications->DenyModifications( $borrowernumber );
238
Koha::Borrower::Modifications->DenyModifications( $borrowernumber );
239
239
Lines 255-261 sub DenyModifications { Link Here
255
    return $self->DelModifications( borrowernumber => $borrowernumber );
255
    return $self->DelModifications( borrowernumber => $borrowernumber );
256
}
256
}
257
257
258
=head DelModifications
258
=head2 DelModifications
259
259
260
Koha::Borrower::Modifications->DelModifications(
260
Koha::Borrower::Modifications->DelModifications(
261
  [ borrowernumber => $borrowernumber ],
261
  [ borrowernumber => $borrowernumber ],
Lines 307-313 sub DelModifications { Link Here
307
    return $sth->execute($value);
307
    return $sth->execute($value);
308
}
308
}
309
309
310
=head GetModifications
310
=head2 GetModifications
311
311
312
$hashref = Koha::Borrower::Modifications->GetModifications(
312
$hashref = Koha::Borrower::Modifications->GetModifications(
313
  [ borrowernumber => $borrowernumber ],
313
  [ borrowernumber => $borrowernumber ],
(-)a/misc/cronjobs/delete_expired_opac_registrations.pl (-1 / +1 lines)
Lines 25-31 BEGIN { Link Here
25
    # find Koha's Perl modules
25
    # find Koha's Perl modules
26
    # test carefully before changing this
26
    # test carefully before changing this
27
    use FindBin;
27
    use FindBin;
28
    eval { require "$FindBin::Bin/../kohalib.pl" };
28
    eval { my $lib = "$FindBin::Bin/../kohalib.pl"; require $lib };
29
}
29
}
30
30
31
use C4::Context;
31
use C4::Context;
(-)a/misc/cronjobs/delete_unverified_opac_registrations.pl (-2 / +1 lines)
Lines 25-31 BEGIN { Link Here
25
    # find Koha's Perl modules
25
    # find Koha's Perl modules
26
    # test carefully before changing this
26
    # test carefully before changing this
27
    use FindBin;
27
    use FindBin;
28
    eval { require "$FindBin::Bin/../kohalib.pl" };
28
    eval { my $lib = "$FindBin::Bin/../kohalib.pl"; require $lib };
29
}
29
}
30
30
31
use C4::Context;
31
use C4::Context;
32
- 

Return to bug 7067