redis function delete is deprecated

This commit is contained in:
aynsix
2019-11-15 17:12:02 +04:00
parent 232c255e3e
commit be73baae5b
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ class RedisCache extends CacheProvider implements Cache
*/ */
protected function doDelete($id) protected function doDelete($id)
{ {
return $this->_redis->delete($id); return $this->_redis->del($id);
} }
/** /**

View File

@@ -80,7 +80,7 @@ class RedisSessionHandler implements \SessionHandlerInterface
*/ */
public function destroy($sessionId) public function destroy($sessionId)
{ {
return 1 === $this->redis->delete($this->prefix.$sessionId); return 1 === $this->redis->del($this->prefix.$sessionId);
} }
/** /**