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

Antoine Farnault antoine at koha-fr.org
Mon Feb 5 17:50:36 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	07/02/05 16:50:36

Modified files:
	C4             : Serials.pm 

Log message:
	removing a warn compilation.

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

Patches:
Index: Serials.pm
===================================================================
RCS file: /sources/koha/koha/C4/Serials.pm,v
retrieving revision 1.5.2.31
retrieving revision 1.5.2.32
diff -u -b -r1.5.2.31 -r1.5.2.32
--- Serials.pm	5 Feb 2007 09:01:57 -0000	1.5.2.31
+++ Serials.pm	5 Feb 2007 16:50:36 -0000	1.5.2.32
@@ -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.31 2007/02/05 09:01:57 hdl Exp $
+# $Id: Serials.pm,v 1.5.2.32 2007/02/05 16:50:36 toins 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.31 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.5.2.32 $' =~ /\d+/g;
     shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v );
 };
 
@@ -1754,7 +1754,6 @@
     $sth->execute($subscriptionid);
     my ($res) = $sth->fetchrow  ;
     my @res=split (/-/,$res);
-    my @endofsubscriptiondate;
     my @endofsubscriptiondate=split(/-/,$expirationdate);
     return 1 if ( (@endofsubscriptiondate && Delta_Days($res[0],$res[1],$res[2],
                   $endofsubscriptiondate[0],$endofsubscriptiondate[1],$endofsubscriptiondate[2]) <= 0)





More information about the Koha-cvs mailing list