Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12446

Unnecessary db connect - function phpbb_bootstrap_enabled_exts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0-b2
    • 3.1.0-RC2
    • Extensions
    • None

    Description

      Function phpbb_bootstrap_enabled_exts() creates a unnecessary new db connection on every page hit.
      @ https://github.com/phpbb/phpbb/blob/develop-ascraeus/phpBB/includes/functions_container.php#L67
      The SQL query will also never displayed at the "sql debug" page.

      It comes from the file common.php @ "// Set up container" https://github.com/phpbb/phpbb/blob/develop-ascraeus/phpBB/common.php#L94
      before the standard db connection takes over.

      similar to ~ https://tracker.phpbb.com/browse/PHPBB3-12420

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Kostenloses-Forum Kostenloses-Forum [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: