Skip to content

Commit

Permalink
Address review comments from @nilsding
Browse files Browse the repository at this point in the history
Co-authored-by: Georg Gadinger <[email protected]>
  • Loading branch information
raccube and nilsding committed Jan 6, 2022
1 parent b249e40 commit b398265
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def unban
end

# Bans a user.
# @param duration [Fixnum, nil] Ban duration
# @param duration [Integer?] Ban duration
# @param duration_unit [String, nil] Unit for the <code>duration</code> parameter. Accepted units: hours, days, weeks, months
# @param reason [String] Reason for the ban. This is displayed to the user.
# @param banned_by [User] User who instated the ban
Expand Down
5 changes: 0 additions & 5 deletions spec/models/user_ban_spec.rb

This file was deleted.

0 comments on commit b398265

Please sign in to comment.