]> git.koha-community.org Git - koha.git/commit
Bug 9586 - Remove $ENV{DEBUG} info from Member Template
authorDavid Cook <dcook@prosentient.com.au>
Mon, 11 Feb 2013 05:42:56 +0000 (16:42 +1100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 7 Mar 2013 14:49:10 +0000 (09:49 -0500)
commit96b6f39e7a51ce414083b15125685a37844c5f29
treeb2082a8081df2338343a6b7a24d9f3072533b9bd
parent9ca04faad1cb57da857b759d2c7137d52414c3b8
Bug 9586 - Remove $ENV{DEBUG} info from Member Template

Currently, if $ENV{DEBUG} is set (for example to 1), the debug level
will be printed on the Add/Edit Patron pages (memberentrygen.tt) in the
form of: "Debug is on (level 1)".

While many if not most folks might not set $ENV{DEBUG} on a production
system, there is no reason to have this information printing on the
member template(s).

No where else in Koha is there a template that prints $ENV{DEBUG}
information, with the exception of calendar.inc, although that doesn't
activate until at least debug level 2 or 5, so it might be worth holding
on to. It is certainly more complicated than simply printing the debug
level. I don't do development on the calendars, so I'm not going to
address that one.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Elliott Davis <elliott@bywatersolions.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
members/memberentry.pl