Skip to content
Snippets Groups Projects
Commit 0db3df1b authored by Kjartan Mannes's avatar Kjartan Mannes
Browse files

- changed the $function code to use module_invoke() as its a lot cleaner and

  more in tune with the rest of Drupal.
parent 8ae1611c
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
page_header(); page_header();
eval(variable_get("site_frontpage_extra", "") .";"); eval(variable_get("site_frontpage_extra", "") .";");
$function = variable_get("site_frontpage", "node") ."_page"; module_invoke(variable_get("site_frontpage", "node"), "page");
$function();
page_footer(); page_footer();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment