[Koha-cvs] koha/C4 Serials.pm [rel_3_0]

paul poulain paul at koha-fr.org
Wed Jan 24 14:51:23 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	paul poulain <tipaul>	07/01/24 13:51:23

Modified files:
	C4             : Serials.pm 

Log message:
	removing Serials call to newbiblio, that is removed from Biblio.pm
	HDL : look & comment this removal pls

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Serials.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.5.2.27&r2=1.5.2.28

Patches:
Index: Serials.pm
===================================================================
RCS file: /sources/koha/koha/C4/Serials.pm,v
retrieving revision 1.5.2.27
retrieving revision 1.5.2.28
diff -u -b -r1.5.2.27 -r1.5.2.28
--- Serials.pm	16 Jan 2007 16:41:36 -0000	1.5.2.27
+++ Serials.pm	24 Jan 2007 13:51:23 -0000	1.5.2.28
@@ -17,7 +17,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: Serials.pm,v 1.5.2.27 2007/01/16 16:41:36 hdl Exp $
+# $Id: Serials.pm,v 1.5.2.28 2007/01/24 13:51:23 tipaul Exp $
 
 use strict;
 use C4::Date;
@@ -35,7 +35,7 @@
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.5.2.27 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.5.2.28 $' =~ /\d+/g;
     shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v );
 };
 
@@ -1482,10 +1482,13 @@
               . format_date( $data->{'planneddate'} ) . ')';
             $biblioitem->{'dewey'} = $info->{itemcallnumber};
 
-            if ( $info->{barcode} )
-            {    # only make biblioitem if we are going to make item also
-                $bibitemno = newbiblioitem($biblioitem);
-            }
+            #FIXME  HDL : I don't understand why you need to call newbiblioitem, as the biblioitem should already be somewhere.
+            # so I comment it, we can speak of it when you want
+            # newbiblioitems has been removed from Biblio.pm, as it has a deprecated API now
+#             if ( $info->{barcode} )
+#             {    # only make biblioitem if we are going to make item also
+#                 $bibitemno = newbiblioitem($biblioitem);
+#             }
         }
     }
 





More information about the Koha-cvs mailing list