mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 14:48:53 +00: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
1 changed files with 5 additions and 1 deletions
|
@ -451,6 +451,10 @@ class acp_extensions
|
||||||
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
$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)
|
catch (exception_interface $e)
|
||||||
{
|
{
|
||||||
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
$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)
|
catch (\RuntimeException $e)
|
||||||
{
|
{
|
||||||
$disabeld_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue