Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14227

Languages are loaded from database in all pages

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Medium Medium
    • 4.2.0alpha1
    • 4.0.1, 4.1.0alpha1
    • None
    • Operating System: Ubuntu
      PHP Version: (please be specific, like '4.4.3' or '5.1.5') 5.2.6
      Database and version: MySQL 5
      Browser (and version):

    Description

      By enabling the DebugOutput and the SQLOutput you can see the following query in all pages of a site (except on / with eZ Publish 4.0.1 ?)

      SELECT id, name, locale, disabled
                          FROM   ezcontent_language
      ORDER BY name ASC
      

      It would be nice to cache the result of this query in a file so that it won't be done again and again. It seems that this query is generated by the call to eZContentLanguage::fetchLimitationList() by the permission system.

      Attachments

        Activity

          People

            qwix qwix
            dpobel dpobel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: