Commit 571ba136 authored by Roland Haeder's avatar Roland Haeder Committed by mmn

Check for valid database connection object.

Signed-off-by: default avatarRoland Haeder <>
parent 3065d9f0
......@@ -293,6 +293,11 @@ abstract class Installer
if (!$conn instanceof DB_common) {
// Is not the right instance
throw new Exception('Cannot connect to database: ' . $conn->getMessage());
$res = $this->updateStatus("Creating database tables...");
if (!$this->createCoreTables($conn)) {
$this->updateStatus("Error creating tables.", true);
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