diff --git a/Changelog.md b/Changelog.md index cd5d8d618..6ecc0ce22 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,7 @@ # 0.5.9.0 ## Refactor +* Remove unused mentions regex [#6810](https://github.com/diaspora/diaspora/pull/6810) ## Bug fixes * Fix back to top button not appearing on Webkit browsers [#6782](https://github.com/diaspora/diaspora/pull/6782) diff --git a/app/models/mention.rb b/app/models/mention.rb index 47c2f719a..caab2a8b2 100644 --- a/app/models/mention.rb +++ b/app/models/mention.rb @@ -3,8 +3,6 @@ # the COPYRIGHT file. class Mention < ActiveRecord::Base - REGEX = /@\{([^;]+); ([^\}]+)\}/ - belongs_to :post belongs_to :person validates :post, :presence => true