Commit 8ab42ad6824d7e10c877a182337b3dec663a576c
1 parent
eea6e7c4
Exists in
staging
and in
42 other branches
Removing broken code
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
app/models/article.rb
@@ -135,8 +135,6 @@ class Article < ActiveRecord::Base | @@ -135,8 +135,6 @@ class Article < ActiveRecord::Base | ||
135 | 135 | ||
136 | after_update :update_creation_activity | 136 | after_update :update_creation_activity |
137 | def update_creation_activity | 137 | def update_creation_activity |
138 | - a = ActionTracker::Record.all.select {|a| a.verb == 'create_article' && a.target == article.profile} | ||
139 | - a.first.touch | ||
140 | #update article's activity | 138 | #update article's activity |
141 | end | 139 | end |
142 | 140 |