Merge branch 'stable' into develop

This commit is contained in:
Dennis Schubert 2015-05-16 03:40:24 +02:00
commit 1f084c28a8
2 changed files with 7 additions and 3 deletions

View file

@ -40,6 +40,7 @@ Ruby 2.0 is no longer officially supported.
* Update the configurate gem to avoid issues by missed missing settings keys [#5934](https://github.com/diaspora/diaspora/pull/5934)
* ContactPresenter#full_hash_with_person did not contain relationship information [#5936](https://github.com/diaspora/diaspora/pull/5936)
* Fix inactive user removal not respecting configuration for daily limits [#5953](https://github.com/diaspora/diaspora/pull/5953)
* Fix missing localization of inactive user removal warning emails [#5950](https://github.com/diaspora/diaspora/issues/5950)
## Features
* Hide post title of limited post in comment notification email [#5843](https://github.com/diaspora/diaspora/pull/5843)

View file

@ -7,9 +7,12 @@ class Maintenance < ActionMailer::Base
@pod_url = AppConfig.environment.url
@after_days = AppConfig.settings.maintenance.remove_old_users.after_days.to_s
@remove_after = @user.remove_after
mail(:to => @user.email, :subject => I18n.t('notifier.remove_old_user.subject')) do |format|
I18n.with_locale(@user.language) do
mail(to: @user.email, subject: I18n.t("notifier.remove_old_user.subject")) do |format|
format.text
format.html
end
end
end
end