From f8b84800ebd11ae3c37310c3fc8dab05e2345256 Mon Sep 17 00:00:00 2001 From: eileenmcnaughton Date: Sat, 22 Aug 2015 04:15:42 +0000 Subject: [PATCH] CRM-17068 fix static warning --- CRM/Admin/Page/AJAX.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CRM/Admin/Page/AJAX.php b/CRM/Admin/Page/AJAX.php index c8688e3319..1b31f56167 100644 --- a/CRM/Admin/Page/AJAX.php +++ b/CRM/Admin/Page/AJAX.php @@ -295,7 +295,12 @@ LIMIT $limit"; CRM_Utils_JSON::output($result); } - public function mappingList() { + /** + * Get a list of mappings. + * + * This appears to be only used by scheduled reminders. + */ + static public function mappingList() { if (empty($_GET['mappingID'])) { CRM_Utils_JSON::output(array('status' => 'error', 'error_msg' => 'required params missing.')); } -- 2.25.1