From: Tim Otten Date: Tue, 23 Aug 2016 03:24:14 +0000 (-0700) Subject: CRM-18808, CRM-19154 - CRM_Utils_SoapServer - Fix call to authenticate() X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3412289429a937fe561acdaa5c116fc0db9896f9;p=civicrm-core.git 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... --- 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');