From 1337f9e23232c92f61ec6720d54dbe7e5342eb62 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 7 Jan 2015 16:10:36 +1300 Subject: [PATCH] fix namespace calls --- Civi/Payment/System.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Civi/Payment/System.php b/Civi/Payment/System.php index 41b05e5853..59e5eb1a94 100644 --- a/Civi/Payment/System.php +++ b/Civi/Payment/System.php @@ -38,8 +38,8 @@ class System { if (!isset(self::$cache[$id])) { if (!isset(self::$cache[$id])) { //does this config need to be called? - $config = CRM_Core_Config::singleton(); - $ext = CRM_Extension_System::singleton()->getMapper(); + $config = \CRM_Core_Config::singleton(); + $ext = \CRM_Extension_System::singleton()->getMapper(); if ($ext->isExtensionKey($processor['class_name'])) { $paymentClass = $ext->keyToClass($processor['class_name'], 'payment'); require_once $ext->classToPath($paymentClass); @@ -52,7 +52,7 @@ class System { require_once str_replace('_', DIRECTORY_SEPARATOR, $paymentClass) . '.php'; } - self::$cachen[$id] = new $paymentClass($processor['is_test'] ? 'test' : 'live', $processor); + self::$cache[$id] = new $paymentClass($processor['is_test'] ? 'test' : 'live', $processor); } } return self::$cache[$id]; -- 2.25.1