mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:10:17 +08:00
FIX: broken and uneeded code
This commit is contained in:
parent
271374a8c6
commit
7d5c0ae28e
|
@ -37,8 +37,6 @@ class PostsController < ApplicationController
|
|||
user = User.find(params[:user_id].to_i)
|
||||
request['u'] = user.username_lower if user
|
||||
end
|
||||
IncomingLink.add(request, current_user)
|
||||
|
||||
redirect_to post.url
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user