Skip to content

Commit e054df7

Browse files
committed
Remove unused method
1 parent 3908251 commit e054df7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/models/page.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ def data = NullData.new(title: nil, description: nil)
4343
# away from Sitepress for indexed content may be what‘s needed, but keeping
4444
# the split personality for now.
4545
#
46-
def self.as_published_articles
47-
SitepressArticle.take_published(all.map { |page| SitepressArticle.new(page.resource) })
48-
end
49-
5046
def self.upsert_collection_from_sitepress!(limit: nil)
5147
# Targeting specific Sitepress models until we have a better way to make
5248
# Page model aware of published state

0 commit comments

Comments
 (0)