[Koha-cvs] koha/C4/Circulation Circ2.pm [rel_3_0]

Bruno Toumi btoumi at ouestprovence.fr
Fri Nov 10 10:43:17 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Bruno Toumi <btoumi>	06/11/10 09:43:17

Modified files:
	C4/Circulation : Circ2.pm 

Log message:
	fixes for transferts (+ new warning for deprecated sub)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Circulation/Circ2.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.114.2.11&r2=1.114.2.12

Patches:
Index: Circ2.pm
===================================================================
RCS file: /sources/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.114.2.11
retrieving revision 1.114.2.12
diff -u -b -r1.114.2.11 -r1.114.2.12
--- Circ2.pm	2 Nov 2006 13:29:44 -0000	1.114.2.11
+++ Circ2.pm	10 Nov 2006 09:43:17 -0000	1.114.2.12
@@ -3,7 +3,7 @@
 
 package C4::Circulation::Circ2;
 
-# $Id: Circ2.pm,v 1.114.2.11 2006/11/02 13:29:44 toins Exp $
+# $Id: Circ2.pm,v 1.114.2.12 2006/11/10 09:43:17 btoumi Exp $
 
 #package to deal with Returns
 #written 3/11/99 by olwen at katipo.co.nz
@@ -45,7 +45,7 @@
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.114.2.11 $' =~ /\d+/g; shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v ); };
+$VERSION = do { my @v = '$Revision: 1.114.2.12 $' =~ /\d+/g; shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v ); };
 
 =head1 NAME
 
@@ -92,7 +92,7 @@
         &GetReservesToBranch
         &GetTransfersFromBib
         &getBranchIp
-        &dotranfer
+        &dotransfer
         &GetOverduesForBranch
         &AddNotifyLine
         &RemoveNotifyLine
@@ -2003,6 +2003,7 @@
 # that one looks rather different.
 sub find_reserves {
 # Stolen from Returns.pm
+warn "!!!!! SHOULD NOT BE HERE : Circ2::find_reserves is deprecated !!!";
     my ($itemno) = @_;
     my %env;
     my $dbh = C4::Context->dbh;





More information about the Koha-cvs mailing list