Commit ce6b1a3c authored by Senya's avatar Senya Committed by Steffen van Bergerem
Browse files

Clear unused regex in mention.rb

The REGEX is unused

closes #6810
parent 8fe11d7d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
# 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)
+0 −2
Original line number Diff line number Diff line
@@ -3,8 +3,6 @@
#   the COPYRIGHT file.

class Mention < ActiveRecord::Base
  REGEX = /@\{([^;]+); ([^\}]+)\}/

  belongs_to :post
  belongs_to :person
  validates :post, :presence => true