diff options
| author | Robert Speicher <rspeicher@gmail.com> | 2016-03-05 17:32:37 -0500 |
|---|---|---|
| committer | Robert Speicher <rspeicher@gmail.com> | 2016-03-05 17:32:37 -0500 |
| commit | 1b27c3c5f85c85c13c2d241f05e0ab5ccf3de943 (patch) | |
| tree | 230f9e8b0741ef48445a35a69cb1c9e3674c3738 | |
| parent | eb3ca328137a92a91a5e2c6fb12ea09cbea7f609 (diff) | |
| download | gitlab-ce-rs-note-model-cleanup.tar.gz | |
Remove `Note#system?` "override"rs-note-model-cleanup
This method was duplicating default Rails behavior.
| -rw-r--r-- | app/models/note.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index 8e46a0c5c16..da07340f4a1 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -342,10 +342,6 @@ class Note < ActiveRecord::Base Event.reset_event_cache_for(self) end - def system? - read_attribute(:system) - end - def downvote? is_award && note == "thumbsdown" end |
