Skip to content

Commit 891689f

Browse files
committed
Bug 1098956: remove autoland support
1 parent ecc04a6 commit 891689f

14 files changed

+7
-949
lines changed

extensions/BMO/Extension.pm

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -811,16 +811,20 @@ sub install_before_final_checks {
811811
}
812812
}
813813

814-
# Migrate old is_active stuff to new patch (is in core in 4.2), The old column
815-
# name was 'is_active', the new one is 'isactive' (no underscore).
816814
sub install_update_db {
817815
my $dbh = Bugzilla->dbh;
818-
816+
817+
# Migrate old is_active stuff to new patch (is in core in 4.2), The old
818+
# column name was 'is_active', the new one is 'isactive' (no underscore).
819819
if ($dbh->bz_column_info('milestones', 'is_active')) {
820820
$dbh->do("UPDATE milestones SET isactive = 0 WHERE is_active = 0;");
821821
$dbh->bz_drop_column('milestones', 'is_active');
822822
$dbh->bz_drop_column('milestones', 'is_searchable');
823823
}
824+
825+
# remove tables from the old TryAutoLand extension
826+
$dbh->bz_drop_table('autoland_branches');
827+
$dbh->bz_drop_table('autoland_attachments');
824828
}
825829

826830
sub _last_closed_date {

extensions/TryAutoLand/Config.pm

Lines changed: 0 additions & 19 deletions
This file was deleted.

extensions/TryAutoLand/Extension.pm

Lines changed: 0 additions & 323 deletions
This file was deleted.

0 commit comments

Comments
 (0)