summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-14 21:50:13 +0300
committerAndrew Dolgov <[email protected]>2010-11-14 21:58:11 +0300
commit75c510323be9682951412510d82f97d838dcb3bf (patch)
tree803eb68df08ece6ce2f95758e0656aabd41e3544 /functions.js
parentb71a7df9edd13af85733f89d854e7d834fa0a468 (diff)
remove google gears
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/functions.js b/functions.js
index 8428af39e..56fafad9f 100644
--- a/functions.js
+++ b/functions.js
@@ -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]);
- }
}
}