[Koha-bugs] [Bug 6459] New: Needless call to C4::Context->dbh in C4::Templates::themelanguage()

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jun 4 19:49:15 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6459

             Bug #: 6459
           Summary: Needless call to C4::Context->dbh in
                    C4::Templates::themelanguage()
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Templates
        AssignedTo: oleonard at myacpl.org
        ReportedBy: magnus at enger.priv.no
         QAContact: koha-bugs at lists.koha-community.org


As far as I can see, line 194 in C4::Templates::themelanguage() is not needed: 

my $dbh = C4::Context->dbh;

$dbh does not seem to be used again in the scope in which it is created. 

Patch coming up.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list