mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02: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:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user