Remove check for items in File cache driver.
This commit is contained in:
parent
24fefe9eb2
commit
de19b8db40
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue