Prohibit the ability to check version if it was disabled.
Signed-off-by: Alexei Yuzhakov <sibprogrammer@gmail.com>
This commit is contained in:
parent
60dd86ad70
commit
645cf9f978
@ -4491,6 +4491,10 @@ class PMA_Util
|
||||
*/
|
||||
public static function getLatestVersion()
|
||||
{
|
||||
if (!$GLOBALS['cfg']['VersionCheck']) {
|
||||
return array();
|
||||
}
|
||||
|
||||
// wait 3s at most for server response, it's enough to get information
|
||||
// from a working server
|
||||
$connection_timeout = 3;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user