1
0
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:
Marc Alexander 2016-12-08 21:17:50 +01:00
parent 1be233a801
commit 4c36ca4b85
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;
}
}