Permalink
Browse files

fix(installer): installer works again

Installer no longer tries to connect to the database to fetch plugins
prior to installation completion.

Fixes #11852
  • Loading branch information...
hypeJunction committed Apr 5, 2018
1 parent 888a6cf commit ba4d57c6c72c86c0f6369513e62ef94d72d29e61
@@ -6,7 +6,7 @@
use Doctrine\DBAL\Driver\Statement;
use Doctrine\DBAL\Driver\ServerInfoAwareConnection;
use Doctrine\DBAL\Query\QueryBuilder;
use Elgg\Database\DbConfig as DbConfig;
use Elgg\Database\DbConfig;
/**
* The Elgg database
@@ -710,7 +710,7 @@ protected function disable(ElggPlugin $plugin, Exception $previous) {
* @return ElggPlugin[]
*/
public function find($status = 'active') {
if (!$this->db) {
if (!$this->db || !$this->config->installed) {
return [];
}
@@ -15,6 +15,10 @@
background: #0078ac;
}
body {
background: transparent;
}
.elgg-page {
max-width: 50rem;
margin: 5rem auto;

0 comments on commit ba4d57c

Please sign in to comment.