| Summary: | Needless call to C4::Context->dbh in C4::Templates::themelanguage() | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Magnus Enger <magnus> |
| Component: | Templates | Assignee: | Magnus Enger <magnus> |
| Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
| Severity: | trivial | ||
| Priority: | PATCH-Sent (DO NOT USE) | CC: | chris |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: |
Proposed patch
Bug 6459 : Needless call to C4::Context->dbh in C4::Templates::themelanguage() |
||
|
Description
Magnus Enger
2011-06-04 17:49:15 UTC
Created attachment 4358 [details] [review] Proposed patch Created attachment 4385 [details] [review] Bug 6459 : Needless call to C4::Context->dbh in C4::Templates::themelanguage() As far as I can tell, $dbh is never used again in the scope in which it is created. This patch simply removes the line. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Yep, it is a needless call, signed off And pushed to master |