diff options
Diffstat (limited to 'Bugzilla/Memcached.pm')
-rw-r--r-- | Bugzilla/Memcached.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Memcached.pm b/Bugzilla/Memcached.pm index 819b6d8b6..1464b6c00 100644 --- a/Bugzilla/Memcached.pm +++ b/Bugzilla/Memcached.pm @@ -166,11 +166,11 @@ sub clear_all { sub clear_config { my ($self, $args) = @_; + return unless $self->{memcached}; if ($args && exists $args->{key}) { $self->_delete($self->_config_prefix . '.' . $args->{key}); } else { - return unless $self->{memcached}; $self->_inc_prefix("config"); } } |