Remove unused function Cache::delete()
This commit is contained in:
		
					parent
					
						
							
								182f390520
							
						
					
				
			
			
				commit
				
					
						3369dfaad9
					
				
			
		
					 1 changed files with 0 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -60,17 +60,4 @@ class Cache
 | 
			
		|||
	{
 | 
			
		||||
		return DI::cache()->set($key, $value, $duration);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * @brief Delete a value from the cache
 | 
			
		||||
	 *
 | 
			
		||||
	 * @param string $key The key to the cached data
 | 
			
		||||
	 *
 | 
			
		||||
	 * @return bool
 | 
			
		||||
	 * @throws \Exception
 | 
			
		||||
	 */
 | 
			
		||||
	public static function delete($key)
 | 
			
		||||
	{
 | 
			
		||||
		return DI::cache()->delete($key);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue