summaryrefslogtreecommitdiff
path: root/app/models/event.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-13 14:24:54 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-13 14:24:54 +0300
commit1355ede49d02e2a7b1715a3ed6bd7389bfedf6bc (patch)
treed1530d3685f4d934f5224fc6cde9305b736c0c71 /app/models/event.rb
parenta5cbb4cb82a6911b5c1de117ae6ed4cbf667a679 (diff)
downloadgitlab-ce-1355ede49d02e2a7b1715a3ed6bd7389bfedf6bc.tar.gz
Wipe wall notes feature
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/event.rb')
-rw-r--r--app/models/event.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/event.rb b/app/models/event.rb
index cf88e9f4afc..b88635ccb59 100644
--- a/app/models/event.rb
+++ b/app/models/event.rb
@@ -286,10 +286,6 @@ class Event < ActiveRecord::Base
end.to_s
end
- def wall_note?
- target.noteable_type.blank?
- end
-
def note_target_type
if target.noteable_type.present?
target.noteable_type.titleize