From eec87c190b42b4b4c50f55594cb16ccc9db28c17 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Wed, 5 Feb 2020 12:57:11 -0600 Subject: (finally) remove unused `vars` from account model --- app/models/account.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/models/account.rb b/app/models/account.rb index 3993f450f..8ea4ec288 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -421,12 +421,6 @@ class Account < ApplicationRecord self.fields = tmp end -## TODO: See if I need to follow the below advice - # needs to be removed after migration -# def vars -# self[:vars] -# end - def subscription(webhook_url) @subscription ||= OStatus2::Subscription.new(remote_url, secret: secret, webhook: webhook_url, hub: hub_url) end -- cgit