summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Catchpole2017-04-18 12:14:45 (GMT)
committerNathaniel Catchpole2017-04-18 12:32:03 (GMT)
commit3d786b4dc51d0d06f01c6c65804a57abe2d4e3c0 (patch)
tree86bcf43089044650e618c24a309449b93fca7a76
parent7cad23ab2a3d3469456de44caff8c0f4d00d664b (diff)
Issue #2848822 by jeetendrakumar, juanjesustrigo, vidhatanand: Replace all calls to db_create_table, which is deprecated
-rw-r--r--core/includes/schema.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/includes/schema.inc b/core/includes/schema.inc
index a2f9d23..443cbf1 100644
--- a/core/includes/schema.inc
+++ b/core/includes/schema.inc
@@ -119,7 +119,7 @@ function drupal_install_schema($module) {
_drupal_schema_initialize($schema, $module, FALSE);
foreach ($schema as $name => $table) {
- db_create_table($name, $table);
+ \Drupal::database()->schema()->createTable($name, $table);
}
}