From 47655075855c33aa07ed38d9abce6edcd851f11f Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 19 Jul 2018 16:56:38 +0800 Subject: [PATCH] Remove code that is no longer required. --- app/models/user.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/models/user.rb b/app/models/user.rb index 019567b2a86..20c1d355324 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -20,9 +20,6 @@ class User < ActiveRecord::Base include HasCustomFields include SecondFactorManager - # TODO: Remove this after 7th Jan 2018 - self.ignored_columns = %w{email} - has_many :posts has_many :notifications, dependent: :destroy has_many :topic_users, dependent: :destroy