Skip to content
Snippets Groups Projects
Commit b49c96c9 authored by Karl Shea's avatar Karl Shea Committed by Brandon Bergren
Browse files

Issue #2997537 by KarlShea: Undefined method error on Statistics page

parent de03e20c
No related branches found
No related tags found
No related merge requests found
......@@ -70,10 +70,10 @@ class MemcacheStatisticsController extends ControllerBase {
$stats = $stats[$bin];
$aggregate = array_pop($stats);
if ($memcache->memcache() instanceof \Memcached) {
if ($memcache->getMemcache() instanceof \Memcached) {
$version = t('Memcached v@version', ['@version' => phpversion('Memcached')]);
}
elseif ($memcache->memcache() instanceof \Memcache) {
elseif ($memcache->getMemcache() instanceof \Memcache) {
$version = t('Memcache v@version', ['@version' => phpversion('Memcache')]);
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment