From: Saurabh Batra Date: Sun, 14 Feb 2016 18:46:57 +0000 (+0530) Subject: CRM-17143 - non-static method CRM_Campaign_Page_AJAX::campaignList() should not be... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ace6e8eceb8cca8e9bae1d5946cf5cd4d7c9ca9b;p=civicrm-core.git CRM-17143 - non-static method CRM_Campaign_Page_AJAX::campaignList() should not be called staticall https://issues.civicrm.org/jira/browse/CRM-17143 --- diff --git a/CRM/Campaign/Page/AJAX.php b/CRM/Campaign/Page/AJAX.php index 8674ffcf61..f9dc85cd5b 100644 --- a/CRM/Campaign/Page/AJAX.php +++ b/CRM/Campaign/Page/AJAX.php @@ -568,7 +568,7 @@ class CRM_Campaign_Page_AJAX { * This function uses the deprecated v1 datatable api and needs updating. See CRM-16353. * @deprecated */ - public function campaignList() { + public static function campaignList() { //get the search criteria params. $searchCriteria = CRM_Utils_Request::retrieve('searchCriteria', 'String', CRM_Core_DAO::$_nullObject, FALSE, NULL, 'POST'); $searchParams = explode(',', $searchCriteria);