mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Merge remote-tracking branch 'master'
This commit is contained in:
commit
445f760856
1 changed files with 1 additions and 1 deletions
|
|
@ -45,9 +45,9 @@ class PointModel extends Point
|
|||
|
||||
// Get from object cache
|
||||
$use_cache = Rhymix\Framework\Cache::getDriverName() !== 'dummy';
|
||||
$cache_key = sprintf('member:point:%d', $member_srl);
|
||||
if (!$from_db && $use_cache)
|
||||
{
|
||||
$cache_key = sprintf('member:point:%d', $member_srl);
|
||||
$point = Rhymix\Framework\Cache::get($cache_key);
|
||||
if ($point !== null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue