fix #1350 by removing admin_email from preferences model and add it as a site option in

site.yml.tmpl. This one needs running migrations
This commit is contained in:
Reinier Balt 2012-12-23 21:03:37 +01:00
parent a32f928fc8
commit bd656ee1c7
5 changed files with 17 additions and 7 deletions

View file

@ -3,7 +3,7 @@ class Preference < ActiveRecord::Base
belongs_to :sms_context, :class_name => 'Context'
attr_accessible :date_format, :week_starts, :show_number_completed, :show_completed_projects_in_sidebar,
:show_hidden_contexts_in_sidebar, :staleness_starts, :due_style, :admin_email, :locale,
:show_hidden_contexts_in_sidebar, :staleness_starts, :due_style, :locale,
:title_date_format, :time_zone, :show_hidden_projects_in_sidebar, :show_project_on_todo_done, :review_period,
:refresh, :verbose_action_descriptors, :mobile_todos_per_page, :sms_email, :sms_context_id