Clear unused regex in mention.rb

The REGEX is unused

closes #6810
This commit is contained in:
Senya 2016-04-21 16:11:39 +03:00 committed by Steffen van Bergerem
parent 8fe11d7da7
commit ce6b1a3c0c
2 changed files with 1 additions and 2 deletions

View file

@ -1,6 +1,7 @@
# 0.5.9.0 # 0.5.9.0
## Refactor ## Refactor
* Remove unused mentions regex [#6810](https://github.com/diaspora/diaspora/pull/6810)
## Bug fixes ## Bug fixes
* Fix back to top button not appearing on Webkit browsers [#6782](https://github.com/diaspora/diaspora/pull/6782) * Fix back to top button not appearing on Webkit browsers [#6782](https://github.com/diaspora/diaspora/pull/6782)

View file

@ -3,8 +3,6 @@
# the COPYRIGHT file. # the COPYRIGHT file.
class Mention < ActiveRecord::Base class Mention < ActiveRecord::Base
REGEX = /@\{([^;]+); ([^\}]+)\}/
belongs_to :post belongs_to :post
belongs_to :person belongs_to :person
validates :post, :presence => true validates :post, :presence => true