Commit bf512912 by pupi1985

Reused already existent qa_db_set_option function

parent 4ac7fcb8
......@@ -595,11 +595,9 @@
Set the current version in the database
*/
{
qa_db_query_sub(
"INSERT INTO ^options (title, content) VALUES ('db_version', #) " .
"ON DUPLICATE KEY UPDATE content = VALUES(content)",
$version
);
require_once QA_INCLUDE_DIR . 'db/options.php';
qa_db_set_option('db_version', $version);
}
......
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