replace delete with del

This commit is contained in:
Dennis Eichhorn 2019-12-08 10:28:48 +01:00
parent b1c23eb5e8
commit c9ae933045
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ class MemCached extends ConnectionAbstract
return false; return false;
} }
return $this->con->del($key); return $this->con->delete($key);
} }
/** /**

View File

@ -157,7 +157,7 @@ class RedisCache extends ConnectionAbstract
return false; return false;
} }
return $this->con->delete($key) > 0; return $this->con->del($key) > 0;
} }
/** /**