diff options
author | Christian Pointner <equinox@helsinki.at> | 2010-04-22 16:51:07 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2010-04-22 16:51:07 (GMT) |
commit | 8feabec3db24134087b491e730d63a11127fee15 (patch) | |
tree | 0df01564b885c32df782fe3720e642de39a2a9b9 /rhimport | |
parent | 41d257b2ba4f3a995acdaa3b57bbe991e939d0e5 (diff) |
temporary import now in seperate folder for each user
git-svn-id: https://svn.helsinki.at/rhimport/trunk@56 7c65635b-ec39-4f67-a626-873dbafdd612
Diffstat (limited to 'rhimport')
-rwxr-xr-x | rhimport | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -267,12 +267,12 @@ sub start_import_gui() $log = rhimport::clear_carts($dbh, $group, $to_cart, $gui_progress_cb); } my $import_log; - ($ret, $import_log) = rhimport::import_playlist($file, $dropbox, $gui_progress_cb, $gui_error_cb); + ($ret, $import_log) = rhimport::import_playlist($file, $dropbox, $user, $gui_progress_cb, $gui_error_cb); $log .= $import_log; } else { $log = rhimport::clear_carts($dbh, $group, $to_cart, $gui_progress_cb); my $import_log; - ($ret, $import_log) = rhimport::import_single($file, $dropbox, $gui_progress_cb, $gui_error_cb); + ($ret, $import_log) = rhimport::import_single($file, $dropbox, $user, $gui_progress_cb, $gui_error_cb); $log .= $import_log; } @@ -443,12 +443,12 @@ if($POOL) { } my $import_log; - ($ret, $import_log) = rhimport::import_playlist($FILE, $DROPBOX, 0, $cl_error_cb); + ($ret, $import_log) = rhimport::import_playlist($FILE, $DROPBOX, $user, 0, $cl_error_cb); $log .= $import_log; } else { $log = rhimport::clear_carts($dbh, $group, $to_cart); my $import_log; - ($ret, $import_log) = rhimport::import_single($FILE, $DROPBOX, 0); + ($ret, $import_log) = rhimport::import_single($FILE, $DROPBOX, $user, 0, $cl_error_cb); $log .= $import_log; } |