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>
(cherry picked from commit a54716e50d)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
b76bb054f0
commit
669f73bc08
|
|
@ -191,7 +191,6 @@ sub themelanguage {
|
|||
$lang = $languages[0] || 'en';
|
||||
}
|
||||
my $theme = 'prog'; # in the event of theme failure default to 'prog' -fbcit
|
||||
my $dbh = C4::Context->dbh;
|
||||
my @themes;
|
||||
if ( $interface eq "intranet" ) {
|
||||
@themes = split " ", C4::Context->preference("template");
|
||||
|
|
|
|||
Loading…
Reference in New Issue