Merge pull request #2476 from drshawnkwang/drupal_fix-user-func-shuffle

Drupal: Change library names
This commit is contained in:
tristanolive 2018-04-23 14:38:54 -04:00 committed by GitHub
commit 255565ec08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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'] : '',

View File

@ -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;