refactoring various classes.

This commit is contained in:
Taylor Otwell
2011-10-15 14:39:52 -05:00
parent 2b93963f34
commit 76a5bc483a
6 changed files with 13 additions and 25 deletions

View File

@@ -5,10 +5,6 @@ class APC implements Driver {
/**
* The APC cache driver instance.
*
* This session driver relies on the APC cache driver to provide an interface for
* working with an APC equipped server. The cache driver will provide all of the
* functionality for retrieving and storing items in APC.
*
* @var Cache\Drivers\APC
*/
private $apc;

View File

@@ -57,7 +57,10 @@ class File implements Driver, Sweeper {
*/
public function delete($id)
{
if (file_exists($this->path.$id)) @unlink($this->path.$id);
if (file_exists($this->path.$id))
{
@unlink($this->path.$id);
}
}
/**