[TYPO3-core] RFC: #8980: unlink of non existant lockfiles generates warnings in frontend

Rupert Germann rupi at gmx.li
Wed Jun 10 00:54:11 CEST 2009


hi Susanne,

wouldn't an @ sign at the beginning of unlink have the same effect?
if (@unlink($this....

greets
rupert

Susanne Moog wrote:

> Hi,
> 
> this is a SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=8980
> 
> Branches: Trunk, 4_2
> 
> Problem:
> The function release() in t3lib_lock designed to release a lock does not
> check for file existence before unlinking a file thus creating a warning
> in the frontend if the file does not exist.
> 
> Solution:
> Check for file existence before unlinking.
> 
> 
> Regards,
> 
> Susanne
> 



More information about the TYPO3-team-core mailing list