Changeset 371


Ignore:
Timestamp:
06/10/10 14:41:35 (10 years ago)
Author:
sander
Message:

Ignore unlink error on race condition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/www/cake/libs/file.php

    r310 r371  
    290290                clearstatcache(); 
    291291                if ($this->exists()) { 
    292                         return unlink($this->path); 
     292                        @unlink($this->path); 
     293                        return true; 
    293294                } 
    294295                return false; 
Note: See TracChangeset for help on using the changeset viewer.