If I spit out
- Code: Select all
$this->Editor->warnings[] = $row["file_name"];
- Code: Select all
if(strlen($row["file_name"]) > 0)
So, the following code won't work:
- Code: Select all
unlink($this->dataDir.$row["file_name"]);
also there is a small syntax bug in the same function(valErrros see the 3 'r'):
- Code: Select all
$valErrros[] = 'The file could not be moved';
side note: even if something goes wrong, I do not see the $valErrors beeing passed...probably minor