Skip to content

Commit 173ba98

Browse files
committed
remove unused and misleading function
1 parent 67f80f3 commit 173ba98

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/models/account.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -252,14 +252,6 @@ def url
252252
esdb_id.present? ? "/players/#{esdb_id}/#{name}" : ''
253253
end
254254

255-
def destroy_all_matches!
256-
ident = ESDB::Identity.find(params[:id])
257-
not_found and return if !ident
258-
259-
response = @match.userdelete(current_user.id)
260-
261-
end
262-
263255
# Return Jbuilder for serialization
264256
def to_builder(builder = nil)
265257
builder ||= Jbuilder.new

0 commit comments

Comments
 (0)