https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27293

            Bug ID: 27293
           Summary: Refactor C4::Templates and C4::Languages to not use
                    CGI objects directly
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Templates
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

If you look through C4::Templates and C4::Languages, you'll see CGI objects
being passed around a lot.

In the end, all that C4::Templates::gettemplate() and
C4::Languages::getlanguage need are the "language" param and the
"KohaOpacLanguage" cookie. We should be fetching these appropriately from the
CGI or PSGI or whatever context at a higher level and passing back the data
rather than the objects.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to