check_for_update: compare against VERSION_STATIC

master
Andrew Dolgov 12 years ago
parent b8461261fb
commit 74a8b2f6f1

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

Loading…
Cancel
Save