Commit 8f2fa77b by Scott

Fix installation query error

parent f262591f
......@@ -138,8 +138,6 @@ if (isset($pass_failure_type)) {
}
else {
// this page was requested by user GET/POST, so handle any incoming clicks on buttons
qa_db_connect('qa_install_db_fail_handler');
qa_initialize_postdb_plugins();
if (qa_clicked('create')) {
qa_db_install_tables();
......@@ -188,6 +186,7 @@ else {
$success .= 'The Question2Answer database tables have been repaired.';
}
qa_initialize_postdb_plugins();
if (qa_clicked('module')) {
$moduletype = qa_post_text('moduletype');
$modulename = qa_post_text('modulename');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment