aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_extensions.php
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2014-04-14 21:13:15 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-28 22:16:39 +0200
commit2552a0fef230ac02173c0dfe69b80dafaf636873 (patch)
tree8d45c802c54a600ecbb017fd9902dae6c8f11570 /phpBB/includes/acp/acp_extensions.php
parent44752c0dbfe11afb58de8956a79fbe5ec0f3e127 (diff)
downloadforums-2552a0fef230ac02173c0dfe69b80dafaf636873.tar
forums-2552a0fef230ac02173c0dfe69b80dafaf636873.tar.gz
forums-2552a0fef230ac02173c0dfe69b80dafaf636873.tar.bz2
forums-2552a0fef230ac02173c0dfe69b80dafaf636873.tar.xz
forums-2552a0fef230ac02173c0dfe69b80dafaf636873.zip
[ticket/11366] Bug Fix: Extensions removed but still registred in DB
Fix the bug with the Extensions removed but still registred in DB PHPBB3-11366
Diffstat (limited to 'phpBB/includes/acp/acp_extensions.php')
-rw-r--r--phpBB/includes/acp/acp_extensions.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php
index 0aeb0968a4..8723bef58d 100644
--- a/phpBB/includes/acp/acp_extensions.php
+++ b/phpBB/includes/acp/acp_extensions.php
@@ -310,10 +310,6 @@ class acp_extensions
$enabled_extension_meta_data[$name]['S_VERSIONCHECK'] = true;
$enabled_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)
- {
- $enabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
- }
catch(\phpbb\extension\exception $e)
{
$this->template->assign_block_vars('disabled', array(
@@ -321,6 +317,10 @@ class acp_extensions
'S_VERSIONCHECK' => false,
));
}
+ catch (\RuntimeException $e)
+ {
+ $enabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
+ }
}
uasort($enabled_extension_meta_data, array('self', 'sort_extension_meta_data_table'));
@@ -366,10 +366,6 @@ class acp_extensions
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = true;
$disabled_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)
- {
- $disabeld_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
- }
catch(\phpbb\extension\exception $e)
{
$this->template->assign_block_vars('disabled', array(
@@ -377,6 +373,10 @@ class acp_extensions
'S_VERSIONCHECK' => false,
));
}
+ catch (\RuntimeException $e)
+ {
+ $disabeld_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
+ }
}
uasort($disabled_extension_meta_data, array('self', 'sort_extension_meta_data_table'));