Removed extra activity update for new projects

When a project is created the last activity timestamp is already set so
there's no need for another update.
This commit is contained in:
Yorick Peterse 2015-10-21 16:19:05 +02:00
parent 6369c992a6
commit 29b3ce56ac

View file

@ -94,8 +94,6 @@ module Projects
@project.team << [current_user, :master, current_user]
end
@project.update_column(:last_activity_at, @project.created_at)
if @project.import?
@project.import_start
end