mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 07:25:54 +00:00
remove db_connect, db_close; CLI fixes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user