diff options
author | Andrew Dolgov <[email protected]> | 2013-04-17 17:00:24 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-17 17:00:35 +0400 |
commit | eefaa2df381686f771396baae2d0ae71b345c2e7 (patch) | |
tree | 767f9d583e38a27c0150854fcb1b02c2cd507aa2 /update_daemon2.php | |
parent | 6322ac79a020ab584d412d782d62b2ee77d7c6cf (diff) |
remove db_connect, db_close; CLI fixes
Diffstat (limited to 'update_daemon2.php')
-rwxr-xr-x | update_daemon2.php | 5 |
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); |