Unused method removed
This commit is contained in:
parent
82003ca1bf
commit
91c2b327d1
1 changed files with 3 additions and 3 deletions
|
|
@ -92,9 +92,9 @@ class Screenshot < ActiveRecord::Base
|
|||
end
|
||||
|
||||
# Return the number of screenshots that need to be approved
|
||||
def self.unapproved
|
||||
self.where(approved: false)
|
||||
end
|
||||
# def self.unapproved
|
||||
# self.where(approved: false)
|
||||
# end
|
||||
|
||||
# Publish a screenshot from the moderation queue
|
||||
def approve_screenshot!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue