Skip to content
Snippets Groups Projects
Commit b0624796 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#828706 by oadaeh: use module_load_install() instead of module_load_include()...

#828706 by oadaeh: use module_load_install() instead of module_load_include() in drupal_get_schema_unprocessed()
parent a2f2b877
No related branches found
No related tags found
No related merge requests found
...@@ -3313,7 +3313,7 @@ function drupal_uninstall_schema($module) { ...@@ -3313,7 +3313,7 @@ function drupal_uninstall_schema($module) {
*/ */
function drupal_get_schema_unprocessed($module, $table = NULL) { function drupal_get_schema_unprocessed($module, $table = NULL) {
// Load the .install file to get hook_schema. // Load the .install file to get hook_schema.
module_load_include('install', $module); module_load_install($module);
$schema = module_invoke($module, 'schema'); $schema = module_invoke($module, 'schema');
if (!is_null($table) && isset($schema[$table])) { if (!is_null($table) && isset($schema[$table])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment