Deleted duplicate statement

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-03-16 16:07:36 -07:00
parent b64d7e38f2
commit 5e4455f042

View file

@ -192,7 +192,6 @@ class UsersController extends Controller
}
$order = $request->input('order') === 'asc' ? 'asc' : 'desc';
$offset = (($users) && (request('offset') > $users->count())) ? 0 : request('offset', 0);
// Set the offset to the API call's offset, unless the offset is higher than the actual count of items in which
// case we override with the actual count, so we should return 0 items.