Include admins in credit requirement check

Users with the administer site configuration permission were being excluded from the credit requirement check, which means they never get the verified contributor role. That exclusion has been removed.

(DBOINCP-85)
This commit is contained in:
Tristan Olive 2013-12-03 11:31:46 -05:00
parent a4cda24f02
commit d5a6ce11ec
1 changed files with 2 additions and 4 deletions

View File

@ -122,11 +122,9 @@ function boincuser_init() {
boinc_get_path();
boinc_get_scheduler_tags();
}
// Otherwise, check credits for community role membership
else {
// Check credits for the verified contributor role
boincuser_check_credit_requirements();
}
}
/**
* Implementation of hook_user(); add custom actions to standard