fix text editor

This commit is contained in:
Kyle Drake 2014-08-19 15:09:20 -07:00
parent 2743e02cc1
commit e200eb47c6
3 changed files with 11 additions and 11 deletions

View file

@ -294,11 +294,6 @@ class Site < Sequel::Model
!@blockings.select {|b| b.site_id == site.id}.empty?
end
def self.valid_path?(path)
puts 'ditto restrictions scrub'
true
end
def self.valid_username?(username)
!username.empty? && username.match(/^[a-zA-Z0-9_\-]+$/i)
end