diff options
author | Christian Pointner <equinox@helsinki.at> | 2010-04-13 10:19:32 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2010-04-13 10:19:32 (GMT) |
commit | 31c1e9745803f71b19e448c263e4880ab9f62cb5 (patch) | |
tree | 6dc0a5fef07b60cd63dcdf249402c64976158900 /rhimport | |
parent | cca430404bf1778a2a2e07c4c663f915c77b8f98 (diff) |
clearing single carts as well (updates title at import)
git-svn-id: https://svn.helsinki.at/rhimport/trunk@41 7c65635b-ec39-4f67-a626-873dbafdd612
Diffstat (limited to 'rhimport')
-rwxr-xr-x | rhimport | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -249,6 +249,7 @@ sub start_import_gui() } ($ret, $log) = rhimport::import_playlist($file, $dropbox, $gui_progress_cb, $gui_error_cb); } else { + rhimport::clear_carts($dbh, $group, $to_cart, $gui_progress_cb); ($ret, $log) = rhimport::import_single($file, $dropbox, $gui_progress_cb, $gui_error_cb); } @@ -397,6 +398,7 @@ if($POOL) { ($ret, $log) = rhimport::import_playlist($FILE, $DROPBOX, 0, $cl_error_cb); } else { + rhimport::clear_carts($dbh, $group, $to_cart); ($ret, $log) = rhimport::import_single($FILE, $DROPBOX, 0); } |