X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=update_daemon2.php;fp=update_daemon2.php;h=a1d7e7d66a35c7cca0e0370726762f98ffb5a733;hb=eefaa2df381686f771396baae2d0ae71b345c2e7;hp=f5e031c9ea977f59db8433663f46ed29a50003ca;hpb=6322ac79a020ab584d412d782d62b2ee77d7c6cf;p=tt-rss.git diff --git a/update_daemon2.php b/update_daemon2.php index f5e031c9..a1d7e7d6 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);