CRM-17143 - non-static method CRM_Campaign_Page_AJAX::campaignList() should not be...
authorSaurabh Batra <saurabh.batra96@gmail.com>
Sun, 14 Feb 2016 18:46:57 +0000 (00:16 +0530)
committerSaurabh Batra <saurabh.batra96@gmail.com>
Sun, 14 Feb 2016 18:46:57 +0000 (00:16 +0530)
https://issues.civicrm.org/jira/browse/CRM-17143

CRM/Campaign/Page/AJAX.php

index 8674ffcf616fc4cf34e92a1a2996f0d8c04e8790..f9dc85cd5b634d03fb0f190f8317e4d576c14072 100644 (file)
@@ -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);