better logging of needed angeltypes for shifts and rooms

main
msquare 7 years ago
parent 74f3677f19
commit d5631297dc

@ -118,9 +118,11 @@ function admin_rooms()
$angeltype = AngelType($angeltype_id);
if ($angeltype != null) {
NeededAngelType_add(null, $angeltype_id, $room_id, $angeltype_count);
if($angeltype_count > 0) {
$needed_angeltype_info[] = $angeltype['name'] . ': ' . $angeltype_count;
}
}
}
engelsystem_log(
'Set needed angeltypes of room ' . $name

@ -338,9 +338,11 @@ function admin_shifts()
$count
]
);
if($count > 0) {
$needed_angel_types_info[] = $angel_type_source['name'] . ': ' . $count;
}
}
}
engelsystem_log('Shift needs following angel types: ' . join(', ', $needed_angel_types_info));
}

Loading…
Cancel
Save