From c79d74abbb878cd4d714def515735621de6601c1 Mon Sep 17 00:00:00 2001
From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org>
Date: Tue, 16 Jan 2018 15:10:39 +0000
Subject: [PATCH] Issue #2908952 by sahil432, martin107:
 drupal_get_complete_schema() and drupal_get_schema() are not completely
 removed

---
 core/lib/Drupal/Core/Config/ConfigImporter.php         | 5 ++---
 core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/core/lib/Drupal/Core/Config/ConfigImporter.php b/core/lib/Drupal/Core/Config/ConfigImporter.php
index 06fed4b1b04e..b58f96358ba7 100644
--- a/core/lib/Drupal/Core/Config/ConfigImporter.php
+++ b/core/lib/Drupal/Core/Config/ConfigImporter.php
@@ -788,9 +788,8 @@ protected function processExtension($type, $op, $name) {
       // services.
       $this->reInjectMe();
       // During a module install or uninstall the container is rebuilt and the
-      // module handler is called from drupal_get_complete_schema(). This causes
-      // the container's instance of the module handler not to have loaded all
-      // the enabled modules.
+      // module handler is called. This causes the container's instance of the
+      // module handler not to have loaded all the enabled modules.
       $this->moduleHandler->loadAll();
     }
     if ($type == 'theme') {
diff --git a/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
index 6e772cd2b247..8777ddadae57 100644
--- a/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
+++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php
@@ -450,7 +450,7 @@ protected function alterTable($table, $old_schema, $new_schema, array $mapping =
    *   Name of the table.
    *
    * @return
-   *   An array representing the schema, from drupal_get_schema().
+   *   An array representing the schema.
    *
    * @throws \Exception
    *   If a column of the table could not be parsed.
-- 
GitLab