[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Koha-devel] $count2 in fines.pl and other questions
From: |
Chris Cormack |
Subject: |
Re: [Koha-devel] $count2 in fines.pl and other questions |
Date: |
Mon Apr 8 18:07:03 2002 |
User-agent: |
Mutt/1.3.25i |
On Mon, Apr 08, 2002 at 09:02:52PM -0400, Pat Eyler said:
> On Tue, 9 Apr 2002, Chris Cormack wrote:
>
> > You can safely ignore fines.pl, fines2.pl in misc is the real overdue
> > calculating script.
>
> Does this mean fines.pl can disappear and fines2.pl be renamed to fines.pl
> (no sense in leaving dead files around to confuse people).
I thought i already had, at least im pretty sure i removed fines.pl from the
cvs tree. I didnt rename fines2.pl tho.
>
> I thought it might be. I've noticed a few other things that look like
> debugging code. What about making them more obvious (and leaving them
> uncommented if you like) by doing something like:
>
> print $numOverdueItems if $DEBUG
>
> then when we want to debug something ... we just define a global $DEBUG
> and voila.
>
Excellent plan
Chris
--
Chris Cormack Programmer
025 500 789 Katipo Communications Ltd
address@hidden www.katipo.co.nz