https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18270

            Bug ID: 18270
           Summary: No need to fetch the MARC record when deleting an item
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: minor
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

>From C4::Items::DelItem

 683     # get the MARC record                                                  
 684     my $record = GetMarcBiblio($biblionumber);                             
 685     ModZebra( $biblionumber, "specialUpdate", "biblioserver" );            
 686                                                                            
 687     #search item field code                                                
 688     logaction("CATALOGUING", "DELETE", $itemnumber, "item") if
C4::Context->preference("CataloguingLog");
 689     return $deleted;                                                       
 690 }   

The GetMarcBiblio call is not needed.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to