summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-13 16:35:23 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-13 16:35:23 +0100
commitc9dde701750d237a9a07c31ecf402940af2d7d18 (patch)
treefb4548e7032fdb73a4802a305240225d1eea454d
parent98bfa93ef9a9383a6c0585a081178bb45f6a4097 (diff)
Bugfix. closes #239
-rw-r--r--app/models/user.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 6091e32..b74fc06 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -74,8 +74,6 @@ class User < ActiveRecord::Base
has_many :fax_accounts, :as => :fax_accountable, :dependent => :destroy
- has_many :system_messages, :dependent => :destroy
-
has_many :auto_destroy_access_authorization_phone_numbers, :class_name => 'PhoneNumber', :foreign_key => 'access_authorization_user_id', :dependent => :destroy
belongs_to :current_tenant, :class_name => 'Tenant'