Removed useless option.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8978 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-02-24 18:27:38 +00:00
parent 528735b955
commit 67d816705d
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class Query < ActiveRecord::Base
attr_protected :project_id, :user_id
validates_presence_of :name, :on => :save
validates_presence_of :name
validates_length_of :name, :maximum => 255
validate :validate_query_filters