xpdo icon indicating copy to clipboard operation
xpdo copied to clipboard

Resolve unlink() error

Open cjholowatyj opened this issue 7 years ago • 0 comments

What does it do?

Wrapped the unlink($file) call in an if statement to confirm that $file still exists.

Why is it needed?

Resolves unlink() errors that occur when concurrent requests for a cache file results in one unlink() call being successful while other unlink() calls result in a PHP error being thrown.

Related issue(s)/PR(s)

None to my knowledge

cjholowatyj avatar Dec 06 '17 09:12 cjholowatyj