mirror of https://github.com/BOINC/boinc.git
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:
parent
a4cda24f02
commit
d5a6ce11ec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue