diff options
author | javiexin <javiexin@gmail.com> | 2017-02-12 18:33:06 +0100 |
---|---|---|
committer | javiexin <javiexin@gmail.com> | 2017-02-12 18:33:06 +0100 |
commit | 2e3d90e05b7b08f6df89b9e3a98b1716d52cf340 (patch) | |
tree | db03696280ec41b0638599d33870c2404331a429 /phpBB/phpbb/console/command/update/check.php | |
parent | d3a687df270268b4cbbe3ae0d10e8c4e2ae29235 (diff) | |
download | forums-2e3d90e05b7b08f6df89b9e3a98b1716d52cf340.tar forums-2e3d90e05b7b08f6df89b9e3a98b1716d52cf340.tar.gz forums-2e3d90e05b7b08f6df89b9e3a98b1716d52cf340.tar.bz2 forums-2e3d90e05b7b08f6df89b9e3a98b1716d52cf340.tar.xz forums-2e3d90e05b7b08f6df89b9e3a98b1716d52cf340.zip |
[ticket/15087] Optimize creation of metadata objects by caching
Caching is done in ext_manager, and metadata_manager is further simplified
by reducing the number of parameters needed. Also, move template output
function from metadata_manager to acp_extensions, where it belongs.
PHPBB3-15087
Diffstat (limited to 'phpBB/phpbb/console/command/update/check.php')
-rw-r--r-- | phpBB/phpbb/console/command/update/check.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/console/command/update/check.php b/phpBB/phpbb/console/command/update/check.php index 1f1cfa25d2..ed8ad79eea 100644 --- a/phpBB/phpbb/console/command/update/check.php +++ b/phpBB/phpbb/console/command/update/check.php @@ -134,7 +134,7 @@ class check extends \phpbb\console\command\command try { $ext_manager = $this->phpbb_container->get('ext.manager'); - $md_manager = $ext_manager->create_extension_metadata_manager($ext_name, null); + $md_manager = $ext_manager->create_extension_metadata_manager($ext_name); $updates_available = $ext_manager->version_check($md_manager, $recheck, false, $stability); $metadata = $md_manager->get_metadata('all'); |