Permalink
Browse files

Merge pull request #3655 from denschub/feature/fix-followhq-setting

Change 'unless' to 'if' because 'unless' is wrong here. [ci skip]
  • Loading branch information...
DeadSuperHero committed Oct 21, 2012
2 parents 0057e9e + 7dc6291 commit b0fc95764d2864aab68805620f1a0f48f9f1d4fd
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/user.rb
View
@@ -410,7 +410,7 @@ def seed_aspects
self.aspects.create(:name => I18n.t('aspects.seed.work'))
aq = self.aspects.create(:name => I18n.t('aspects.seed.acquaintances'))
- unless AppConfig.settings.follow_diasporahq
+ if AppConfig.settings.follow_diasporahq
default_account = Webfinger.new('diasporahq@joindiaspora.com').fetch
self.share_with(default_account, aq) if default_account
end

0 comments on commit b0fc957

Please sign in to comment.