diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-11-09 16:00:56 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-11-09 16:00:56 +0300 |
commit | ae31c9cf0620538d2cb1b8e29764ae74b076b592 (patch) | |
tree | e151a565a4fc89c5e486be39984930287999b901 /app/models | |
parent | 89494036f0db57a251df0b35b12e2d8b94f42b77 (diff) |
Remove created_at from WikiPage
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/wiki_page.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb index ae7fb5f962a..7769c3d71c0 100644 --- a/app/models/wiki_page.rb +++ b/app/models/wiki_page.rb @@ -151,12 +151,6 @@ class WikiPage last_version&.sha end - # Returns the Date that this latest version was - # created on. - def created_at - @page.version.date - end - # Returns boolean True or False if this instance # is an old version of the page. def historical? |