From ed775e4e8dba0e3a527ea13b5581c1ce6ee752bc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 31 Jan 2015 15:08:55 +0300 Subject: remove obsolete code related to version checking and tarball updater plugin --- classes/dlg.php | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) (limited to 'classes/dlg.php') diff --git a/classes/dlg.php b/classes/dlg.php index 25a194bed..e3931bc3a 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -220,52 +220,5 @@ class Dlg extends Handler_Protected { //return; } - function newVersion() { - - $version_data = check_for_update(); - $version = $version_data['version']; - $id = $version_data['version_id']; - - if ($version && $id) { - print "
"; - - print T_sprintf("New version of Tiny Tiny RSS is available (%s).", - "$version"); - - print "
"; - - $details = "http://tt-rss.org/redmine/versions/$id"; - $download = "http://tt-rss.org/#Download"; - - print "

".__("You can update using built-in updater in the Preferences or by using update.php")."

"; - - print "
"; - print ""; - print ""; - print ""; - - } else { - print "
"; - - print "

".__("Error receiving version information or no new version available.")."

"; - - print "
"; - - print "
"; - print ""; - print "
"; - - } - print "
"; - - } - - } ?> -- cgit v1.2.3