Commit c3238bf8 authored by nanahira's avatar nanahira

fix

parent 47e43a7a
......@@ -425,8 +425,8 @@ if settings.modules.challonge.enabled
return
refresh_challonge_cache = global.refresh_challonge_cache = () ->
if settings.modules.challonge.cache_ttl
challonge_cache[0] = null
challonge_cache[1] = null
challonge_cache.participants = null
challonge_cache.matches = null
return
refresh_challonge_cache()
# challonge.participants._index({
......
......@@ -555,8 +555,8 @@
};
refresh_challonge_cache = global.refresh_challonge_cache = function() {
if (settings.modules.challonge.cache_ttl) {
challonge_cache[0] = null;
challonge_cache[1] = null;
challonge_cache.participants = null;
challonge_cache.matches = null;
}
};
refresh_challonge_cache();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment