summaryrefslogtreecommitdiff
path: root/update_daemon2.php
diff options
context:
space:
mode:
Diffstat (limited to 'update_daemon2.php')
-rwxr-xr-xupdate_daemon2.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index f5e031c9e..a1d7e7d66 100755
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -178,8 +178,6 @@
$schema_version = get_schema_version();
- db_close();
-
if ($schema_version != SCHEMA_VERSION) {
die("Schema version is wrong, please upgrade the database.\n");
}
@@ -199,7 +197,6 @@
/* Check if schema version changed */
- init_plugins();
$test_schema_version = get_schema_version();
if ($test_schema_version != $schema_version) {
@@ -289,8 +286,6 @@
}
}
- db_close();
-
// We are in a fork.
// We wait a little before exiting to avoid to be faster than our parent process.
sleep(1);