Skip to content
Snippets Groups Projects
Commit dbe63117 authored by Demian Katz's avatar Demian Katz
Browse files

Style fix.

parent 6f599b02
No related merge requests found
...@@ -88,8 +88,8 @@ class ChannelsController extends AbstractBase ...@@ -88,8 +88,8 @@ class ChannelsController extends AbstractBase
if (isset($config->General->cache_home_channels) if (isset($config->General->cache_home_channels)
&& $config->General->cache_home_channels && $config->General->cache_home_channels
) { ) {
$parts = implode('-', [implode(',', $providerIds), $searchClassId, $token]); $parts = [implode(',', $providerIds), $searchClassId, $token];
$cacheKey = 'homeChannels-' . md5($parts); $cacheKey = 'homeChannels-' . md5(implode('-', $parts));
$cache = $this->serviceLocator->get('VuFind\CacheManager') $cache = $this->serviceLocator->get('VuFind\CacheManager')
->getCache('object'); ->getCache('object');
} else { } else {
......
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