From a1f0ed4e65e45d36eba674ac09e88fe5124cdc3f Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 3 Mar 2014 01:03:17 -0800 Subject: [PATCH] Invoker cleanup - Remove unused calling convention. We'll want to introduce a different calling convention in the future. --- CRM/Core/Invoke.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Core/Invoke.php b/CRM/Core/Invoke.php index 31e4bc78d7..05c0780fd5 100644 --- a/CRM/Core/Invoke.php +++ b/CRM/Core/Invoke.php @@ -289,9 +289,8 @@ class CRM_Core_Invoke { $result = NULL; if (is_array($item['page_callback'])) { - $newArgs = explode('/', $_GET[$config->userFrameworkURLVar]); require_once (str_replace('_', DIRECTORY_SEPARATOR, $item['page_callback'][0]) . '.php'); - $result = call_user_func($item['page_callback'], $newArgs); + $result = call_user_func($item['page_callback']); } elseif (strstr($item['page_callback'], '_Form')) { $wrapper = new CRM_Utils_Wrapper(); -- 2.25.1