Commit de19b8db authored by Taylor Otwell's avatar Taylor Otwell

Remove check for items in File cache driver.

parent 24fefe9e
......@@ -29,11 +29,6 @@ class File implements \System\Cache\Driver {
*/
public function get($key)
{
if (array_key_exists($key, $this->items))
{
return $this->items[$key];
}
if ( ! file_exists(APP_PATH.'storage/cache/'.$key))
{
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment