From e342235bf80eadfdb7459209b0a542a25a1a50ad Mon Sep 17 00:00:00 2001 From: Shawn Kwang Date: Fri, 20 Apr 2018 15:11:41 -0500 Subject: [PATCH] Drupal: Changed 'user' include to 'user_util'. This change is due to : https://github.com/BOINC/boinc/commit/e712c7af9ac5b4f9c16d691e656788a2112cefe3 --- drupal/sites/default/boinc/modules/boincuser/boincuser.module | 2 +- .../boinc/modules/boincuser/includes/boincuser.forms.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drupal/sites/default/boinc/modules/boincuser/boincuser.module b/drupal/sites/default/boinc/modules/boincuser/boincuser.module index e86f5cbfe7..2299d170bf 100644 --- a/drupal/sites/default/boinc/modules/boincuser/boincuser.module +++ b/drupal/sites/default/boinc/modules/boincuser/boincuser.module @@ -1383,7 +1383,7 @@ function boincuser_home_page() { */ function boincuser_create_account() { require_boinc('boinc_db'); - require_boinc('user'); + require_boinc('user_util'); require_boinc('xml'); $params = array( 'email_addr' => isset($_GET['email_addr']) ? $_GET['email_addr'] : '', diff --git a/drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc b/drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc index 6c06de6dcc..c144051536 100644 --- a/drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc +++ b/drupal/sites/default/boinc/modules/boincuser/includes/boincuser.forms.inc @@ -106,7 +106,7 @@ function boincuser_register_validate($form_values) { */ function boincuser_register_make_user($params) { // Include BOINC user library - require_boinc('user'); + require_boinc('user_util'); // Create the BOINC user $boinc_user = make_user($params['email_addr'], $params['name'], $params['passwd_hash'], $params['country'], $params['postal_code']); return $boinc_user;