mirror of https://github.com/BOINC/boinc.git
Merge pull request #2476 from drshawnkwang/drupal_fix-user-func-shuffle
Drupal: Change library names
This commit is contained in:
commit
255565ec08
|
@ -1383,7 +1383,7 @@ function boincuser_home_page() {
|
||||||
*/
|
*/
|
||||||
function boincuser_create_account() {
|
function boincuser_create_account() {
|
||||||
require_boinc('boinc_db');
|
require_boinc('boinc_db');
|
||||||
require_boinc('user');
|
require_boinc('user_util');
|
||||||
require_boinc('xml');
|
require_boinc('xml');
|
||||||
$params = array(
|
$params = array(
|
||||||
'email_addr' => isset($_GET['email_addr']) ? $_GET['email_addr'] : '',
|
'email_addr' => isset($_GET['email_addr']) ? $_GET['email_addr'] : '',
|
||||||
|
|
|
@ -106,7 +106,7 @@ function boincuser_register_validate($form_values) {
|
||||||
*/
|
*/
|
||||||
function boincuser_register_make_user($params) {
|
function boincuser_register_make_user($params) {
|
||||||
// Include BOINC user library
|
// Include BOINC user library
|
||||||
require_boinc('user');
|
require_boinc('user_util');
|
||||||
// Create the BOINC user
|
// Create the BOINC user
|
||||||
$boinc_user = make_user($params['email_addr'], $params['name'], $params['passwd_hash'], $params['country'], $params['postal_code']);
|
$boinc_user = make_user($params['email_addr'], $params['name'], $params['passwd_hash'], $params['country'], $params['postal_code']);
|
||||||
return $boinc_user;
|
return $boinc_user;
|
||||||
|
|
Loading…
Reference in New Issue