Permalink
Browse files

fix crash when deleting an uploaded track

  • Loading branch information...
1 parent b823aed commit 081c2f8c092775ba05729e9363d1baf1a9f7833e @lstein lstein committed Oct 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Bio/Graphics/Browser2/Action.pm
@@ -838,7 +838,7 @@ sub ACTION_delete_upload {
foreach (@tracks) {
my (undef,@db_args) = $self->data_source->db_settings($_);
Bio::Graphics::Browser2::DataBase->delete_database(@db_args);
- $render->remove_track_frdata__state($_);
+ $render->remove_track_from_state($_);
}
$usertracks->delete_file($file);
$self->render->data_source->clear_cached_config;

0 comments on commit 081c2f8

Please sign in to comment.