koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: paul poulain
Subject: [Koha-cvs] koha/C4 Bookseller.pm [rel_3_0]
Date: Thu, 25 Jan 2007 09:39:02 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     paul poulain <tipaul>   07/01/25 09:39:02

Modified files:
        C4             : Bookseller.pm 

Log message:
        changing API (although for instance, the $branch is useless in the sub. 
We could improve the sub depending on IndependantBranches parameter, but i'm 
not sure it's interesting for libraries)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Bookseller.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.1&r2=1.1.2.2

Patches:
Index: Bookseller.pm
===================================================================
RCS file: /sources/koha/koha/C4/Bookseller.pm,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- Bookseller.pm       21 Dec 2006 09:21:42 -0000      1.1.2.1
+++ Bookseller.pm       25 Jan 2007 09:39:02 -0000      1.1.2.2
@@ -17,14 +17,14 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: Bookseller.pm,v 1.1.2.1 2006/12/21 09:21:42 toins Exp $
+# $Id: Bookseller.pm,v 1.1.2.2 2007/01/25 09:39:02 tipaul Exp $
 
 use strict;
 
 use vars qw($VERSION @ISA @EXPORT);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.1.2.1 $' =~ /\d+/g; shift(@v) . "." . 
join( "_", map { sprintf "%03d", $_ } @v ); };
+$VERSION = do { my @v = '$Revision: 1.1.2.2 $' =~ /\d+/g; shift(@v) . "." . 
join( "_", map { sprintf "%03d", $_ } @v ); };
 
 @ISA    = qw(Exporter);
 @EXPORT = qw(
@@ -96,7 +96,7 @@
 =cut
 
 sub GetBooksellersWithLateOrders {
-    my $delay = shift;
+    my ($delay,$branch) = @_;
     my $dbh   = C4::Context->dbh;
 
 # FIXME NOT quite sure that this operation is valid for DBMs different from 
Mysql, HOPING so




reply via email to

[Prev in Thread] Current Thread [Next in Thread]