1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:35:56 +00:00

remove obsolete code related to version checking and tarball updater plugin

This commit is contained in:
Andrew Dolgov
2015-01-31 15:08:55 +03:00
parent fbea9eaad2
commit ed775e4e8d
8 changed files with 3 additions and 596 deletions

View File

@@ -756,15 +756,6 @@ function parse_runtime_info(data) {
// console.log("RI: " + k + " => " + v);
if (k == "new_version_available") {
if (v == "1") {
Element.show(dijit.byId("newVersionIcon").domNode);
} else {
Element.hide(dijit.byId("newVersionIcon").domNode);
}
return;
}
if (k == "dep_ts" && parseInt(getInitParam("dep_ts")) > 0) {
if (parseInt(getInitParam("dep_ts")) < parseInt(v) && getInitParam("reload_on_ts_change")) {
window.location.reload();
@@ -968,27 +959,6 @@ function reverseHeadlineOrder() {
}
}
function newVersionDlg() {
try {
var query = "backend.php?op=dlg&method=newVersion";
if (dijit.byId("newVersionDlg"))
dijit.byId("newVersionDlg").destroyRecursive();
dialog = new dijit.Dialog({
id: "newVersionDlg",
title: __("New version available!"),
style: "width: 600px",
href: query,
});
dialog.show();
} catch (e) {
exception_error("newVersionDlg", e);
}
}
function handle_rpc_json(transport, scheduled_call) {
try {
var reply = JSON.parse(transport.responseText);