From a56a48be11f8e7f67b4163f6ad68b07cffb51d4a Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 3 Mar 2014 00:27:39 -0800 Subject: [PATCH] Invoker cleanup - Fix AJAX callbacks which misuse '::' notation --- CRM/Member/Page/AJAX.php | 2 +- CRM/Pledge/Page/AJAX.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Member/Page/AJAX.php b/CRM/Member/Page/AJAX.php index 7008b4f4c0..65c814a0ea 100644 --- a/CRM/Member/Page/AJAX.php +++ b/CRM/Member/Page/AJAX.php @@ -41,7 +41,7 @@ class CRM_Member_Page_AJAX { /** * Function to setDefaults according to membership type */ - function getMemberTypeDefaults($config) { + static function getMemberTypeDefaults() { if (!$_POST['mtype']) { $details['name'] = ''; $details['auto_renew'] = ''; diff --git a/CRM/Pledge/Page/AJAX.php b/CRM/Pledge/Page/AJAX.php index 2469d855a1..14517c6871 100644 --- a/CRM/Pledge/Page/AJAX.php +++ b/CRM/Pledge/Page/AJAX.php @@ -41,7 +41,7 @@ class CRM_Pledge_Page_AJAX { /** * Function for building Pledge Name combo box */ - function pledgeName(&$config) { + static function pledgeName() { $getRecords = FALSE; if (isset($_GET['name']) && $_GET['name']) { -- 2.25.1