Commit 7dc62917 authored by Dennis Schubert's avatar Dennis Schubert

Change 'unless' to 'if' because 'unless' is wrong here.

parent d979ac44
......@@ -410,7 +410,7 @@ class User < ActiveRecord::Base
self.aspects.create(:name => I18n.t(''))
aq = self.aspects.create(:name => I18n.t('aspects.seed.acquaintances'))
unless AppConfig.settings.follow_diasporahq
if AppConfig.settings.follow_diasporahq
default_account ='').fetch
self.share_with(default_account, aq) if default_account
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment