Skip to content

Commit

Permalink
Minor bug on ShmopCacheEngine on release method
Browse files Browse the repository at this point in the history
  • Loading branch information
byjg committed Nov 18, 2015
1 parent 5dff31a commit de8c094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ShmopCacheEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public function release($key)
$shm_id = shmop_open($filekey, "w", 0, 0);

$file = $this->getFTok($key);
if (!file_exists($file)) {
if (file_exists($file)) {
unlink($file);
}

Expand Down

0 comments on commit de8c094

Please sign in to comment.