]> git.wh0rd.org - tt-rss.git/commitdiff
better new version detection (fix again)
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 30 Aug 2006 04:00:50 +0000 (05:00 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 30 Aug 2006 04:00:50 +0000 (05:00 +0100)
functions.php

index 30c59e9d663eb72cb042c085f53da902a9c05d6e..afe013d65d267cb7a1106c171ce14d4381a95bdc 100644 (file)
                        $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>