Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stream/aspect.rb')
-rw-r--r--lib/stream/aspect.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/stream/aspect.rb b/lib/stream/aspect.rb
index af6972775..071854bf0 100644
--- a/lib/stream/aspect.rb
+++ b/lib/stream/aspect.rb
@@ -80,15 +80,6 @@ class Stream::Aspect < Stream::Base
@all_aspects ||= aspects.size == user.aspects.size
end
- # This is perfomance optimization, as everyone in your aspect stream you have
- # a contact.
- #
- # @param post [Post]
- # @return [Boolean]
- def can_comment?(post)
- true
- end
-
private
def aspect_ids