Commit e9eb75b5 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Remove superfluous folder in archived submissions (Bug #1388678)



As we add the date/time of the archive to the file name there is no
need to put it in a subdir named by date/time.

Change-Id: I8446c5f410e8502e4ab97802da0438ff428e0c32
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent f6ea0432
......@@ -643,8 +643,7 @@ function export_process_queue($id = false) {
// Now set up the export submission directories
$submissiondir = get_config('dataroot')
. 'submission/'
. $row->usr . '/'
. $exporter->get('exporttime') . '/';
. $row->usr . '/';
if (!check_dir_exists($submissiondir)) {
$errors[] = get_string('submissiondirnotwritable', 'export', $submissiondir);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment