Ability to remove user location from users
Rework of #9677 - sorry @godmartinez - I suck :( Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@@ -123,6 +123,11 @@ class BulkUsersController extends Controller
|
||||
'warning' => trans('admin/users/message.bulk_manager_warn'),
|
||||
];
|
||||
}
|
||||
|
||||
if ($request->input('null_location_id')=='1') {
|
||||
$this->update_array['location_id'] = null;
|
||||
}
|
||||
|
||||
if (! $manager_conflict) {
|
||||
$this->conditionallyAddItem('manager_id');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user