#14303func_delete: error-message false
Description
Whe trying to delete a single empty directory, without exec_commands enabled a message appears:
“The item was not a file or directory“
But it is!
The error is on line 636 – see additional information.
the detection if file or directory:
00625 if (is_file($theFile)) {is_dir($theFile) && !$this->dont_use_exec_commands) {
...
00636 } elseif (
…
00661 } else $this->writelog(4,2,130,“The item was not a file or directory! ‘%s’”,Array($theFile));
do, the message should be:
“The item was not a file or directory or exec_commands are disabled” – better: test the exec_commands only if they are used (recursively deleting).
(issue imported from #M335)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.