Bug 9656: Make logging to a file optional (for fines)
authorChris Cormack <chrisc@catalyst.net.nz>
Thu, 21 Feb 2013 09:10:48 +0000 (22:10 +1300)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 7 Mar 2013 14:27:01 +0000 (09:27 -0500)
commitd2bee4486c129de28d52b04089d17dd65b2d6764
tree03ff82db046f740ae9c27d17f4213d97fa5a119c
parent3c35d59c334e7e064e491227c36c165c1669b7b7
Bug 9656: Make logging to a file optional (for fines)

To test:
1/ Before the patch run misc/cronjobs/fines.pl
   Notice that a file has been written to /tmp

2/ rm the file

3/ Apply the patch and run the script again
   Notice the file is not created

4/ run the script with -l
   Notice the file is created again

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: Now it work as described. No errors.
Signed-off-by: Elliott Davis <elliott@bywatersolions.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
misc/cronjobs/fines.pl