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

Georg Ringer news at ringerge.org
Wed Jun 10 08:24:36 CEST 2009


Hi,

+1 on reading but this is a bit cleaner
if(file_exists($this->resource) && unlink($this->resource) == false) {

IMO
if(file_exists($this->resource) && !unlink($this->resource)) {

should be fine too

Georg


More information about the TYPO3-team-core mailing list