Revision 76bdcd04
Added by Assos Assos almost 6 years ago
drupal7/sites/all/modules/webform/includes/exporters/webform_exporter_excel_xlsx.inc | ||
---|---|---|
178 | 178 |
// Switch the results file name to the new zip (xlsx) file. |
179 | 179 |
unlink($file_uri); |
180 | 180 |
if (!@rename($zip_uri, $file_uri)) { |
181 |
// The file could not be renamed, probably due to different stream wrappers during drush wfx execution. |
|
181 |
// The file could not be renamed, probably due to different stream |
|
182 |
// wrappers during drush wfx execution. |
|
182 | 183 |
copy($zip_uri, $file_uri); |
183 | 184 |
unlink($zip_uri); |
184 | 185 |
} |
Also available in: Unified diff
Weekly update of contrib modules