aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2014-04-14 22:54:53 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-28 22:16:41 +0200
commitf5da195a039ba82c9629e06392a8ed34096fdbfa (patch)
tree1f6153716c39b9fed1836e63a4c6a7467ad73c5c /phpBB/includes
parent2552a0fef230ac02173c0dfe69b80dafaf636873 (diff)
downloadforums-f5da195a039ba82c9629e06392a8ed34096fdbfa.tar
forums-f5da195a039ba82c9629e06392a8ed34096fdbfa.tar.gz
forums-f5da195a039ba82c9629e06392a8ed34096fdbfa.tar.bz2
forums-f5da195a039ba82c9629e06392a8ed34096fdbfa.tar.xz
forums-f5da195a039ba82c9629e06392a8ed34096fdbfa.zip
[ticket/11366] Adding a missing commit
PHPBB3-11366
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/acp/acp_extensions.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php
index 8723bef58d..4db4d38f3a 100644
--- a/phpBB/includes/acp/acp_extensions.php
+++ b/phpBB/includes/acp/acp_extensions.php
@@ -425,10 +425,6 @@ class acp_extensions
$available_extension_meta_data[$name]['S_VERSIONCHECK'] = true;
$available_extension_meta_data[$name]['U_VERSIONCHECK_FORCE'] = $this->u_action . '&amp;action=details&amp;versioncheck_force=1&amp;ext_name=' . urlencode($md_manager->get_metadata('name'));
}
- catch (\RuntimeException $e)
- {
- $available_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
- }
catch(\phpbb\extension\exception $e)
{
$this->template->assign_block_vars('disabled', array(
@@ -436,6 +432,10 @@ class acp_extensions
'S_VERSIONCHECK' => false,
));
}
+ catch (\RuntimeException $e)
+ {
+ $available_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
+ }
}
uasort($available_extension_meta_data, array('self', 'sort_extension_meta_data_table'));