diff --git a/Changelog.md b/Changelog.md index 883fa601f4b..4cef442d339 100644 --- a/Changelog.md +++ b/Changelog.md @@ -145,6 +145,7 @@ Contributions are very welcome, the hard work is done! # 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 47c2f719afa..caab2a8b214 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