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:
17f443d
)
Fix for older versions of php-l
author
Coleman Watts
<coleman@civicrm.org>
Mon, 2 Feb 2015 18:03:37 +0000
(13:03 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Mon, 2 Feb 2015 18:03:37 +0000
(13:03 -0500)
CRM/Utils/System/Drupal8.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/System/Drupal8.php
b/CRM/Utils/System/Drupal8.php
index a6794a2cdbb800a06e5372de7c4cf1a92b298fcc..d95d91a248573336560936fcc1972350367fe101 100644
(file)
--- a/
CRM/Utils/System/Drupal8.php
+++ b/
CRM/Utils/System/Drupal8.php
@@
-345,7
+345,8
@@
class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
* @inheritDoc
*/
public function authenticate($name, $password, $loadCMSBootstrap = FALSE, $realPath = NULL) {
- (new CRM_Utils_System_Drupal8())->loadBootStrap(array(), FALSE);
+ $system = new CRM_Utils_System_Drupal8();
+ $system->loadBootStrap(array(), FALSE);
$uid = \Drupal::service('user.auth')->authenticate($name, $password);
$contact_id = CRM_Core_BAO_UFMatch::getContactId($uid);