Shorten the file name for the polls cache.
This commit is contained in:
parent
9472888c12
commit
bd67fc9796
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ class FileCache implements CacheInterface
|
|||
throw new InvalidArgumentException('Key is not a legal value');
|
||||
}
|
||||
if ('poll' == \substr($key, 0, 4)) {
|
||||
return $this->cacheDir . "/polls/cache_{$key}.php";
|
||||
return $this->cacheDir . "/polls/{$key}.php";
|
||||
} else {
|
||||
return $this->cacheDir . "/cache_{$key}.php";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue