Commit 227b11d3 authored by nanahira's avatar nanahira

Merge branch 'mc'

parents 9aff2746 c3238bf8
......@@ -529,8 +529,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({
......
......@@ -704,8 +704,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