Needed to create the file in order to apply the patch. Considering files are only removed when they exist, the patch should not fail.
Added file_exists() checks before trying to delete a file in the revert process. An exception will still be thrown causing the whole thing to abort if the file exists and JFile cannot delete the item.
file_exists()
Added
file_exists()
checks before trying to delete a file in the revert process. An exception will still be thrown causing the whole thing to abort if the file exists and JFile cannot delete the item.