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
1 changed files with 0 additions and 5 deletions

View File

@ -29,11 +29,6 @@ public function has($key)
*/ */
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;