Commit 432e0022 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#457] remove old debian 9 link

parent daf7cf72
......@@ -515,9 +515,19 @@ sub _update_table($self, $table, $field, $data) {
}
}
sub _remove_old_isos {
my $self = shift;
my $sth = $CONNECTOR->dbh->prepare("DELETE FROM iso_images "
." WHERE url like '%debian-9.0%iso'"
);
$sth->execute();
$sth->finish;
}
sub _update_data {
my $self = shift;
$self->_remove_old_isos();
$self->_update_isos();
$self->_update_user_grants();
$self->_update_domain_drivers_types();
......
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