From e3e8f09a3ed0851baa2d4bd8640dba3e88d589a5 Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Mon, 7 Jan 2008 13:53:14 -0600 Subject: [PATCH] Stats.pm - BEGIN block VERSION and vars related to export. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Stats.pm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/C4/Stats.pm b/C4/Stats.pm index 6c2be7441d..d0bf7a5694 100644 --- a/C4/Stats.pm +++ b/C4/Stats.pm @@ -23,8 +23,16 @@ require Exporter; use C4::Context; use vars qw($VERSION @ISA @EXPORT); -# set the version for version checking -$VERSION = 3.00; +BEGIN { + # set the version for version checking + $VERSION = 3.01; + @ISA = qw(Exporter); + @EXPORT = qw( + &UpdateStats + &TotalPaid + ); +} + =head1 NAME @@ -43,14 +51,6 @@ the Koha database, which acts as an activity log. =over 2 -=cut - -@ISA = qw(Exporter); -@EXPORT = qw( - &UpdateStats - &TotalPaid -); - =item UpdateStats &UpdateStats($branch, $type, $value, $other, $itemnumber, -- 2.20.1