From 3412289429a937fe561acdaa5c116fc0db9896f9 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 22 Aug 2016 20:24:14 -0700 Subject: [PATCH] CRM-18808, CRM-19154 - CRM_Utils_SoapServer - Fix call to authenticate() This function call bombs (on Drupal) because the method is not really static. Need this to work so we can have a test... --- CRM/Utils/SoapServer.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Utils/SoapServer.php b/CRM/Utils/SoapServer.php index 2357d34dcb..5d92a21091 100644 --- a/CRM/Utils/SoapServer.php +++ b/CRM/Utils/SoapServer.php @@ -122,8 +122,7 @@ class CRM_Utils_SoapServer { $loadCMSBootstrap = TRUE; } - $className = $this->ufClass; - $result =& $className::authenticate($name, $pass, $loadCMSBootstrap); + $result = CRM_Utils_System::authenticate($name, $pass, $loadCMSBootstrap); if (empty($result)) { throw new SoapFault('Client', 'Invalid login'); -- 2.25.1