better new version detection (fix again)

master
Andrew Dolgov 18 years ago
parent 48e1a34293
commit 45d40d6325

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

Loading…
Cancel
Save