mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Unhardcode class name
This commit is contained in:
committed by
GitHub
parent
97ae4def98
commit
ffbb0d26a4
@@ -8,7 +8,7 @@ class RemoveTransientData
|
||||
end
|
||||
|
||||
def call
|
||||
Rails.logger.info("RemoveTransientData: processing")
|
||||
Rails.logger.info("#{self.class.name}: processing")
|
||||
|
||||
Spree::StateChange.delete_all("created_at < '#{retention_period}'")
|
||||
Spree::LogEntry.delete_all("created_at < '#{retention_period}'")
|
||||
|
||||
Reference in New Issue
Block a user