better new version detection (fix again)

This commit is contained in:
Andrew Dolgov 2006-08-30 05:00:50 +01:00
parent 48e1a34293
commit 45d40d6325
1 changed files with 0 additions and 2 deletions

View File

@ -2577,8 +2577,6 @@
$release_url = sanitize_rss($latest_item["link"]);
$content = sanitize_rss($latest_item["description"]);
$latest_version = "2.0";
if (version_compare(VERSION, $latest_version) == -1) {
return "<div class=\"notice\"><a href=\"javascript:showBlockElement('milestoneDetails')\">
New version of Tiny-Tiny RSS ($latest_version) is available (click for details)</a>