Bug 21184: Remove GetBarcodeFromItemnumber
Test plan: git grep GetBarcodeFromItemnumber should not return anything Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
62a075987a
commit
ff1557fef4
1 changed files with 0 additions and 19 deletions
19
C4/Items.pm
19
C4/Items.pm
|
@ -74,7 +74,6 @@ BEGIN {
|
|||
GetHostItemsInfo
|
||||
GetItemnumbersForBiblio
|
||||
get_hostitemnumbers_of
|
||||
GetBarcodeFromItemnumber
|
||||
GetHiddenItemnumbers
|
||||
ItemSafeToDelete
|
||||
DelItemCheck
|
||||
|
@ -1307,24 +1306,6 @@ sub get_hostitemnumbers_of {
|
|||
return @returnhostitemnumbers;
|
||||
}
|
||||
|
||||
|
||||
=head2 GetBarcodeFromItemnumber
|
||||
|
||||
$result = GetBarcodeFromItemnumber($itemnumber);
|
||||
|
||||
=cut
|
||||
|
||||
sub GetBarcodeFromItemnumber {
|
||||
my ($itemnumber) = @_;
|
||||
my $dbh = C4::Context->dbh;
|
||||
|
||||
my $rq =
|
||||
$dbh->prepare("SELECT barcode FROM items WHERE items.itemnumber=?");
|
||||
$rq->execute($itemnumber);
|
||||
my ($result) = $rq->fetchrow;
|
||||
return ($result);
|
||||
}
|
||||
|
||||
=head2 GetHiddenItemnumbers
|
||||
|
||||
my @itemnumbers_to_hide = GetHiddenItemnumbers(@items);
|
||||
|
|
Loading…
Reference in a new issue