Re-nullify chubbies output and correctly handle diaspora_id param in create_account

This commit is contained in:
Raphael Sofaer 2011-08-15 15:37:52 -07:00 committed by Maxwell Salzberg
parent 76b0f31020
commit c95f80be42
2 changed files with 2 additions and 1 deletions

View file

@ -80,7 +80,7 @@ class Chubbies
end
def self.nullify
# "2> /dev/null > /dev/null"
"2> /dev/null > /dev/null"
end
def self.kill

View file

@ -76,6 +76,7 @@ module Chubbies
User
end
def create_account(hash)
hash[:username] = hash.delete(:diaspora_id)
account_const.create(hash)
end