Commit 8f2fa77b by Scott

Fix installation query error

parent f262591f
...@@ -138,8 +138,6 @@ if (isset($pass_failure_type)) { ...@@ -138,8 +138,6 @@ if (isset($pass_failure_type)) {
} }
else { else {
// this page was requested by user GET/POST, so handle any incoming clicks on buttons // 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')) { if (qa_clicked('create')) {
qa_db_install_tables(); qa_db_install_tables();
...@@ -188,6 +186,7 @@ else { ...@@ -188,6 +186,7 @@ else {
$success .= 'The Question2Answer database tables have been repaired.'; $success .= 'The Question2Answer database tables have been repaired.';
} }
qa_initialize_postdb_plugins();
if (qa_clicked('module')) { if (qa_clicked('module')) {
$moduletype = qa_post_text('moduletype'); $moduletype = qa_post_text('moduletype');
$modulename = qa_post_text('modulename'); $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