bug in redis delete function
This commit is contained in:
		
					parent
					
						
							
								6ecaa5b15a
							
						
					
				
			
			
				commit
				
					
						f95c420801
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -74,7 +74,8 @@ class RedisCacheDriver extends AbstractCacheDriver implements IMemoryCacheDriver
 | 
			
		|||
 | 
			
		||||
	public function delete($key)
 | 
			
		||||
	{
 | 
			
		||||
		return $this->redis->delete($key);
 | 
			
		||||
		$cachekey = $this->getCacheKey($key);
 | 
			
		||||
		return ($this->redis->delete($cachekey) > 0);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public function clear()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue