I just found out that JFile::move() actually returns a string whenever the file cannot be found. The doc comment states that it returns boolen. So my check if (JFile::move()) fails in some situations.
https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/filesystem/file.php#L252
What would be the correct way to fix this in your opinion? Log the message and return false. Or show the message with Japplication()->enqueueMessage?
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-06-15 15:48:56 |
Closed_By | ⇒ | zero-24 |