diff options
author | Andrew Dolgov <[email protected]> | 2013-04-17 14:23:35 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-17 14:23:35 +0400 |
commit | ba68b6815ab31d17cda113e7990eeb07558b02a9 (patch) | |
tree | 4fc0d63a491619664bd520db1d44c1a9e5ad8d30 /update_daemon2.php | |
parent | 9594791782bb9adbf29018c444ea427fbaeb5ee4 (diff) |
db updates, remove init_connection()
Diffstat (limited to 'update_daemon2.php')
-rwxr-xr-x | update_daemon2.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/update_daemon2.php b/update_daemon2.php index 77d05be66..e8a56eec9 100755 --- a/update_daemon2.php +++ b/update_daemon2.php @@ -177,7 +177,7 @@ // It is unnecessary to start the fork loop if database is not ok. $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - if (!init_connection($link)) die("Can't initialize db connection.\n"); + if (!init_plugins($link)) die("Can't initialize db connection.\n"); $schema_version = get_schema_version($link); @@ -203,7 +203,7 @@ /* Check if schema version changed */ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - if (!init_connection($link)) die("Can't initialize db connection.\n"); + if (!init_plugins($link)) die("Can't initialize db connection.\n"); $test_schema_version = get_schema_version($link); db_close($link); @@ -255,7 +255,7 @@ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - if (!init_connection($link)) return; + if (!init_plugins($link)) return; // We disable stamp file, since it is of no use in a multiprocess update. // not really, tho for the time being -fox |