Remove check for items in File cache driver.

This commit is contained in:
Taylor Otwell
2011-07-08 06:45:15 -07:00
parent 24fefe9eb2
commit de19b8db40

View File

@@ -29,11 +29,6 @@ class File implements \System\Cache\Driver {
*/ */
public function get($key) public function get($key)
{ {
if (array_key_exists($key, $this->items))
{
return $this->items[$key];
}
if ( ! file_exists(APP_PATH.'storage/cache/'.$key)) if ( ! file_exists(APP_PATH.'storage/cache/'.$key))
{ {
return null; return null;