mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-23 09:00:48 +01:00
[ticket/14900] Do not state missing cached version check means ext is invalid
Also fixed typo in code that was looming there for a while. PHPBB3-14900
This commit is contained in:
parent
1be233a801
commit
4c36ca4b85
@ -451,6 +451,10 @@ class acp_extensions
|
||||
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
||||
}
|
||||
}
|
||||
catch (version_check_exception $e)
|
||||
{
|
||||
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
||||
}
|
||||
catch (exception_interface $e)
|
||||
{
|
||||
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
||||
@ -461,7 +465,7 @@ class acp_extensions
|
||||
}
|
||||
catch (\RuntimeException $e)
|
||||
{
|
||||
$disabeld_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
||||
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user