Skip to content

Commit 0de9c9c

Browse files
committed
Merge pull request civicrm#14 from kurund/4.4
fixes for CRM-14013
2 parents ceca9db + 8eee4d5 commit 0de9c9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/helpers/api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// Component Helper
1414
jimport('joomla.application.component.helper');
1515
class CivicrmHelperApi {
16-
function civiInit() {
16+
static function civiInit() {
1717
if (!defined('CIVICRM_SETTINGS_PATH')) {
1818
define('CIVICRM_SETTINGS_PATH', JPATH_BASE . '/components/com_civicrm/civicrm.settings.php');
1919
}
@@ -23,7 +23,7 @@ function civiInit() {
2323
$config = CRM_Core_Config::singleton();
2424
}
2525

26-
function civiimport($path) {
26+
static function civiimport($path) {
2727
self::civiInit();
2828

2929
global $civicrm_root;

0 commit comments

Comments
 (0)