mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:18 +01:00
Don't exit after creating a ZIP so caller can do cleanup, if needed.
This commit is contained in:
parent
b7baff6187
commit
f2dec7deac
@ -614,7 +614,8 @@ class filemanager_ui
|
|||||||
return lang("Error while creating directory.");
|
return lang("Error while creating directory.");
|
||||||
|
|
||||||
case 'saveaszip':
|
case 'saveaszip':
|
||||||
return egw_vfs::download_zip($selected);
|
egw_vfs::download_zip($selected);
|
||||||
|
common::egw_exit();
|
||||||
|
|
||||||
default:
|
default:
|
||||||
list($action, $settings) = explode('_', $action, 2);
|
list($action, $settings) = explode('_', $action, 2);
|
||||||
|
@ -1496,7 +1496,7 @@ class egw_vfs extends vfs_stream_wrapper
|
|||||||
unlink($temp_file);
|
unlink($temp_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
common::egw_exit();
|
// Make sure to exit after, if you don't want to add to the ZIP
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user