summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/models/snippet.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb
index 1d454801315..5d09c6b6e47 100644
--- a/app/models/snippet.rb
+++ b/app/models/snippet.rb
@@ -34,7 +34,6 @@ class Snippet < ActiveRecord::Base
scope :private, -> { where(private: true) }
scope :fresh, -> { order("created_at DESC") }
scope :expired, -> { where(["expires_at IS NOT NULL AND expires_at < ?", Time.current]) }
- scope :has_project, -> { where("bars.id IS NOT NULL") }
scope :non_expired, -> { where(["expires_at IS NULL OR expires_at > ?", Time.current]) }
def self.content_types