diff --git a/core/lib/Drupal/Core/Database/Connection.php b/core/lib/Drupal/Core/Database/Connection.php index c96afb3..08d64ad 100644 --- a/core/lib/Drupal/Core/Database/Connection.php +++ b/core/lib/Drupal/Core/Database/Connection.php @@ -1429,7 +1429,7 @@ public function databaseEmpty() { // implementation of a required core module. That should always be present // if Drupal is already installed. try { - return !$this->connection->schema()->tableExists('sessions'); + return !$this->schema()->tableExists('sessions'); } catch (\Exception $e) { // If we still have an exception at this point, we need to be careful