1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-23 09:00:48 +01:00

Merge pull request #4568 from marc1706/ticket/14900

[ticket/14900] Do not state missing cached version check means ext is invalid
This commit is contained in:
Marc Alexander 2016-12-08 22:00:40 +01:00
commit 467e603570
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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;
}
}