fix tag alias caching bug

This commit is contained in:
albert
2013-02-24 11:09:49 -05:00
parent dcdb550cf1
commit e6476587b4

View File

@@ -95,6 +95,8 @@ class TagAlias < ActiveRecord::Base
def clear_cache(host = Socket.gethostname)
if host == Socket.gethostname
Cache.delete("ta:#{Cache.sanitize(antecedent_name)}")
else
delay.clear_cache(host)
end
end