This commit is contained in:
albert
2013-02-18 00:22:05 -05:00
parent 11f069577d
commit 2fa5fb6738
2 changed files with 3 additions and 3 deletions

View File

@@ -465,11 +465,11 @@ class User < ActiveRecord::Base
return q if params.blank?
if params[:name]
q = q.name_matches(params[:name])
q = q.name_matches(params[:name].downcase)
end
if params[:name_matches]
q = q.name_matches(params[:name_matches])
q = q.name_matches(params[:name_matches].downcase)
end
if params[:min_level]

View File

@@ -139,7 +139,7 @@ module Danbooru
# Maximum size of an upload.
def max_file_size
5.megabytes
10.megabytes
end
def member_comment_time_threshold