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
|
end
|
||||||
|
|
||||||
# Return the number of screenshots that need to be approved
|
# Return the number of screenshots that need to be approved
|
||||||
def self.unapproved
|
# def self.unapproved
|
||||||
self.where(approved: false)
|
# self.where(approved: false)
|
||||||
end
|
# end
|
||||||
|
|
||||||
# Publish a screenshot from the moderation queue
|
# Publish a screenshot from the moderation queue
|
||||||
def approve_screenshot!
|
def approve_screenshot!
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue