closes #5206, adding clearstatcache() to File::delete()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7435 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2008-08-05 14:19:29 +00:00
parent 5319e89b5c
commit a29b328c16

View file

@ -274,6 +274,7 @@ class File extends Object {
* @access public
*/
function delete() {
clearstatcache();
if ($this->exists()) {
return unlink($this->pwd());
}