Commit c79d74ab authored by catch's avatar catch

Issue #2908952 by sahil432, martin107: drupal_get_complete_schema() and...

Issue #2908952 by sahil432, martin107: drupal_get_complete_schema() and drupal_get_schema() are not completely removed
parent 7d37e31f
...@@ -788,9 +788,8 @@ protected function processExtension($type, $op, $name) { ...@@ -788,9 +788,8 @@ protected function processExtension($type, $op, $name) {
// services. // services.
$this->reInjectMe(); $this->reInjectMe();
// During a module install or uninstall the container is rebuilt and the // During a module install or uninstall the container is rebuilt and the
// module handler is called from drupal_get_complete_schema(). This causes // module handler is called. This causes the container's instance of the
// the container's instance of the module handler not to have loaded all // module handler not to have loaded all the enabled modules.
// the enabled modules.
$this->moduleHandler->loadAll(); $this->moduleHandler->loadAll();
} }
if ($type == 'theme') { if ($type == 'theme') {
......
...@@ -450,7 +450,7 @@ protected function alterTable($table, $old_schema, $new_schema, array $mapping = ...@@ -450,7 +450,7 @@ protected function alterTable($table, $old_schema, $new_schema, array $mapping =
* Name of the table. * Name of the table.
* *
* @return * @return
* An array representing the schema, from drupal_get_schema(). * An array representing the schema.
* *
* @throws \Exception * @throws \Exception
* If a column of the table could not be parsed. * If a column of the table could not be parsed.
......
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