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

Susanne Moog s.moog at neusta.de
Wed Jun 10 08:06:37 CEST 2009


Hi Rupert,

Rupert Germann schrieb:
> hi Susanne,
> 
> wouldn't an @ sign at the beginning of unlink have the same effect?
> if (@unlink($this....

yeah, it probably would but I think it's cleaner to check if the file 
exists instead of just surpressing the warning. But in the end, it 
doesn't matter much to me, I just want to get rid of the warning ;)

Regards,

Susanne


More information about the TYPO3-team-core mailing list