Revert "DEV: Fix a core deprecation (#475)" (#478)

This reverts commit 968751c8a9.

To be re-applied when 3.1.0.beta5 is released.
This commit is contained in:
Jarek Radosz 2023-06-01 19:54:52 +02:00 committed by GitHub
parent c5877a1456
commit a476aeb222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
3.1.0.beta4: f97da59deed6c31734e98d5360510f9746a3a0be
3.1.0.beta3: 9c270cac9abc1c2b30574d8c655fb3a90546236b
2.9.0.beta8: 28bc8ab78a09551548c87f511ade3d64e1b04bc3
2.9.0.beta3: 46f200935dc9e5750c3f2740abd993e27a9b3f6c

View File

@ -110,7 +110,7 @@ class PendingAssignsReminder
end
def time_in_words_for(topic)
AgeWords.distance_of_time_in_words(
FreedomPatches::Rails4.distance_of_time_in_words(
Time.zone.now,
topic.assigned_at.to_time,
false,