mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
Removed test code
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
bbbfa91db9
commit
e60dbc883c
|
@ -544,7 +544,7 @@ class UsersController extends Controller
|
|||
|
||||
}
|
||||
|
||||
return response()->json(Helper::formatStandardApiResponse('error', null, 'Whoops.'.trans('admin/users/message.user_not_found')));
|
||||
return response()->json(Helper::formatStandardApiResponse('error', null, trans('admin/users/message.user_not_found')));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ class DeleteUserRequest extends FormRequest
|
|||
|
||||
$messages = array_merge([
|
||||
|
||||
'user.exists' => 'Boop. '.trans('admin/users/message.user_not_found'),
|
||||
'user.exists' => trans('admin/users/message.user_not_found'),
|
||||
|
||||
// Cannot delete yourself
|
||||
'user.not_in' => trans('admin/users/message.error.cannot_delete_yourself'),
|
||||
|
|
Loading…
Reference in a new issue