From 0db3df1bfa32fa8f7ddf071339c3d0ffd10cf4cc Mon Sep 17 00:00:00 2001
From: Kjartan Mannes <kjartan@2.no-reply.drupal.org>
Date: Sat, 17 Nov 2001 15:18:16 +0000
Subject: [PATCH] - changed the $function code to use module_invoke() as its a
 lot cleaner and   more in tune with the rest of Drupal.

---
 index.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/index.php b/index.php
index 5b44fe1b2aa2..7c925a878269 100644
--- a/index.php
+++ b/index.php
@@ -6,8 +6,7 @@
 page_header();
 
 eval(variable_get("site_frontpage_extra", "") .";");
-$function = variable_get("site_frontpage", "node") ."_page";
-$function();
+module_invoke(variable_get("site_frontpage", "node"), "page");
 
 page_footer();
 
-- 
GitLab