projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6356ccc
)
CRM-18808, CRM-19154 - CRM_Utils_SoapServer - Fix call to authenticate()
author
Tim Otten
<totten@civicrm.org>
Tue, 23 Aug 2016 03:24:14 +0000
(20:24 -0700)
committer
Tim Otten
<totten@civicrm.org>
Tue, 23 Aug 2016 21:06:51 +0000
(14:06 -0700)
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
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/SoapServer.php
b/CRM/Utils/SoapServer.php
index 2357d34dcbd48b9516fcfc7ff32b50c27fe162ac..5d92a210919c907132241a5869f3feb098b1195a 100644
(file)
--- 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');