Bug 18277: Remove the C4::Biblio::GetBiblionumberFromItemnumber
Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
ed03edddbd
commit
98aaa69d38
16
C4/Biblio.pm
16
C4/Biblio.pm
|
|
@ -70,7 +70,6 @@ BEGIN {
|
|||
GetBiblioItemData
|
||||
GetBiblioItemInfosOf
|
||||
GetBiblioItemByBiblioNumber
|
||||
GetBiblionumberFromItemnumber
|
||||
|
||||
&GetRecordValue
|
||||
|
||||
|
|
@ -772,21 +771,6 @@ sub GetBiblioItemByBiblioNumber {
|
|||
return @results;
|
||||
}
|
||||
|
||||
=head2 GetBiblionumberFromItemnumber
|
||||
|
||||
|
||||
=cut
|
||||
|
||||
sub GetBiblionumberFromItemnumber {
|
||||
my ($itemnumber) = @_;
|
||||
my $dbh = C4::Context->dbh;
|
||||
my $sth = $dbh->prepare("Select biblionumber FROM items WHERE itemnumber = ?");
|
||||
|
||||
$sth->execute($itemnumber);
|
||||
my ($result) = $sth->fetchrow;
|
||||
return ($result);
|
||||
}
|
||||
|
||||
=head2 GetISBDView
|
||||
|
||||
$isbd = &GetISBDView({
|
||||
|
|
|
|||
Loading…
Reference in New Issue