Commit 227b11d3 authored by nanahira's avatar nanahira

Merge branch 'mc'

parents 9aff2746 c3238bf8
...@@ -529,8 +529,8 @@ if settings.modules.challonge.enabled ...@@ -529,8 +529,8 @@ if settings.modules.challonge.enabled
return return
refresh_challonge_cache = global.refresh_challonge_cache = () -> refresh_challonge_cache = global.refresh_challonge_cache = () ->
if settings.modules.challonge.cache_ttl if settings.modules.challonge.cache_ttl
challonge_cache[0] = null challonge_cache.participants = null
challonge_cache[1] = null challonge_cache.matches = null
return return
refresh_challonge_cache() refresh_challonge_cache()
# challonge.participants._index({ # challonge.participants._index({
......
...@@ -704,8 +704,8 @@ ...@@ -704,8 +704,8 @@
}; };
refresh_challonge_cache = global.refresh_challonge_cache = function() { refresh_challonge_cache = global.refresh_challonge_cache = function() {
if (settings.modules.challonge.cache_ttl) { if (settings.modules.challonge.cache_ttl) {
challonge_cache[0] = null; challonge_cache.participants = null;
challonge_cache[1] = null; challonge_cache.matches = null;
} }
}; };
refresh_challonge_cache(); 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