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

remove google gears

This commit is contained in:
Andrew Dolgov
2010-11-14 21:50:13 +03:00
parent b71a7df9ed
commit 75c510323b
12 changed files with 79 additions and 2452 deletions

View File

@@ -1227,16 +1227,9 @@ function backend_sanity_check_callback(transport) {
fatalError(3, "Sanity check: Received reply is not XML",
transport.responseText);
return;
} else {
init_offline();
return;
}
}
if (getURLParam("offline")) {
return init_offline();
}
var reply = transport.responseXML.getElementsByTagName("error")[0];
if (!reply) {
@@ -1261,16 +1254,8 @@ function backend_sanity_check_callback(transport) {
if (params) {
for (k in params) {
var v = params[k];
console.log("IP: " + k + " => " + v);
if (db) {
db.execute("DELETE FROM init_params WHERE key = ?", [k]);
db.execute("INSERT INTO init_params (key,value) VALUES (?, ?)",
[k, v]);
}
}
}