check_for_update: compare against VERSION_STATIC

This commit is contained in:
Andrew Dolgov 2013-05-08 19:21:17 +04:00
parent b8461261fb
commit 74a8b2f6f1
1 changed files with 1 additions and 2 deletions

View File

@ -2845,8 +2845,7 @@
if ($version_data) {
$version_data = json_decode($version_data, true);
if ($version_data && $version_data['version']) {
if (version_compare(VERSION, $version_data['version']) == -1) {
if (version_compare(VERSION_STATIC, $version_data['version']) == -1) {
return $version_data;
}
}