Skip to content

Commit

Permalink
Allow the caching per any member not specific member
Browse files Browse the repository at this point in the history
  • Loading branch information
camspiers committed Nov 28, 2013
1 parent 8aa7dea commit f18159d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Heyday/CacheInclude/KeyCreators/KeyCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ public function getKey($name, Controller $controller, $config)
$memberID = Member::currentUserID();
if ($memberID) {
$keyParts[] = 'Members';
$keyParts[] = $memberID;
if ($config['member'] !== 'any') {
$keyParts[] = $memberID;
}
}
}

Expand Down

0 comments on commit f18159d

Please sign in to comment.