Skip to content

Commit

Permalink
fix crash when deleting an uploaded track
Browse files Browse the repository at this point in the history
  • Loading branch information
lstein committed Oct 12, 2011
1 parent b823aed commit 081c2f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Bio/Graphics/Browser2/Action.pm
Expand Up @@ -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;
Expand Down

0 comments on commit 081c2f8

Please sign in to comment.