Unverified Commit 204e1f92 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #583 from dverdin/list_admins_cache_change by dverdin

Slight change in list admins cache expiry.
parents 69dcb7a1 3f39f564
...@@ -693,7 +693,7 @@ sub _cache_get { ...@@ -693,7 +693,7 @@ sub _cache_get {
$self->{_mtime}{$type} = $mtime; $self->{_mtime}{$type} = $mtime;
return undef unless defined $lasttime and defined $mtime; return undef unless defined $lasttime and defined $mtime;
return undef if $lasttime < $mtime; return undef if $lasttime <= $mtime;
return $self->{_cached}{$type}; return $self->{_cached}{$type};
} }
......
Supports Markdown
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