mirror of https://github.com/BOINC/boinc.git
web: allow badge disable
This commit is contained in:
parent
780284b9fa
commit
3776548971
|
@ -940,6 +940,7 @@ function redirect_to_secure_url($url) {
|
|||
}
|
||||
|
||||
function show_badges($is_user, $item) {
|
||||
if (DISABLE_BADGES) return;
|
||||
if ($is_user) {
|
||||
$bus = BoincBadgeUser::enum("user_id=$item->id");
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue