From c27ca2c8594d0bf892d6720ec0ec146bb2b30596 Mon Sep 17 00:00:00 2001 From: "Donald A. Lobo" Date: Tue, 3 Dec 2013 18:40:20 -0800 Subject: [PATCH] CRM-13879 - Strict warning http://issues.civicrm.org/jira/browse/CRM-13879 --- CRM/Export/BAO/Export.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index 4775882eba..1fa49ff04c 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -1136,7 +1136,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c * Function to handle import error file creation. * */ - function invoke() { + static function invoke() { $type = CRM_Utils_Request::retrieve('type', 'Positive', CRM_Core_DAO::$_nullObject); $parserName = CRM_Utils_Request::retrieve('parser', 'String', CRM_Core_DAO::$_nullObject); if (empty($parserName) || empty($type)) { @@ -1173,7 +1173,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c CRM_Utils_System::civiExit(); } - function exportCustom($customSearchClass, $formValues, $order) { + static function exportCustom($customSearchClass, $formValues, $order) { $ext = CRM_Extension_System::singleton()->getMapper(); if (!$ext->isExtensionClass($customSearchClass)) { require_once (str_replace('_', DIRECTORY_SEPARATOR, $customSearchClass) . '.php'); @@ -1813,7 +1813,7 @@ LIMIT $offset, $limit * or have no street address * */ - function postalMailingFormat($exportTempTable, &$headerRows, &$sqlColumns, $exportParams) { + static function postalMailingFormat($exportTempTable, &$headerRows, &$sqlColumns, $exportParams) { $whereClause = array(); if (array_key_exists('is_deceased', $sqlColumns)) { -- 2.25.1