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

(-)a/Koha/Library.pm (-1 / +18 lines)
Lines 65-70 sub get_effective_marcorgcode { Link Here
65
    return $self->marcorgcode || C4::Context->preference("MARCOrgCode");
65
    return $self->marcorgcode || C4::Context->preference("MARCOrgCode");
66
}
66
}
67
67
68
=head3 get_effective_email
69
  
70
  my $to_email = Koha::Library->get_effective_email;
71
72
Returns an effective email address which should be accessible to librarians at the branch.
73
74
=cut
75
76
sub get_effective_email {
77
    my ($self) = @_;
78
79
    return
80
         $self->branchreplyto
81
      || $self->branchemail
82
      || C4::Context->preference('ReplytoDefault')
83
      || C4::Context->preference('KohaAdminEmailAddress');
84
}
85
68
=head3 library_groups
86
=head3 library_groups
69
87
70
Return the Library groups of this library
88
Return the Library groups of this library
71
- 

Return to bug 22823