mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
don't parse values
This commit is contained in:
parent
4b2d8bc2ed
commit
c6345da817
|
|
@ -76,8 +76,6 @@ class MemCached extends ConnectionAbstract
|
|||
*/
|
||||
public function set($key, $value, int $expire = -1) : void
|
||||
{
|
||||
$value = $this->parseValue($value);
|
||||
|
||||
$this->con->set($key, $value, \max($expire, 0));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -91,8 +91,6 @@ class RedisCache extends ConnectionAbstract
|
|||
*/
|
||||
public function set($key, $value, int $expire = -1) : void
|
||||
{
|
||||
$value = $this->parseValue($value);
|
||||
|
||||
if ($expire > 0) {
|
||||
$this->con->set($key, $value, $expire);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user