fix not show problem
This commit is contained in:
parent
b2a04aebe5
commit
9a6dbc4875
|
@ -37,7 +37,7 @@ module Announcement
|
||||||
data_item[key_item2] = [value2_item1,value2_item2]
|
data_item[key_item2] = [value2_item1,value2_item2]
|
||||||
require File.expand_path('../../../app/models/anns_cache', __FILE__)
|
require File.expand_path('../../../app/models/anns_cache', __FILE__)
|
||||||
if defined? AnnsCache
|
if defined? AnnsCache
|
||||||
AnnsCache.all.destroy
|
AnnsCache.destroy_all
|
||||||
end
|
end
|
||||||
rescue => e
|
rescue => e
|
||||||
puts ['error in announcement',e]
|
puts ['error in announcement',e]
|
||||||
|
|
Loading…
Reference in New Issue