diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2013-04-28 13:51:50 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-04-28 13:51:50 +0200 |
commit | 23a53530d7432b6689efdcb4cc79ecc304b082e0 (patch) | |
tree | 24615c94c5851eff6d94b5e65c16605786cf2bee /Bugzilla/Install | |
parent | d30551a767398caf91954a42d69cc2f88a276e75 (diff) | |
download | bugzilla-23a53530d7432b6689efdcb4cc79ecc304b082e0.tar.gz bugzilla-23a53530d7432b6689efdcb4cc79ecc304b082e0.tar.xz |
Bug 848635: Old queries based on tags are no longer listed in the page footer by default when upgrading from 4.0 or older to 4.2
r=glob a=LpSolit
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r-- | Bugzilla/Install/DB.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 6b9dd65cd..3ac83775a 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -3538,9 +3538,6 @@ sub _migrate_user_tags { VALUES (?, ?)'); my $sth_nq = $dbh->prepare('UPDATE namedqueries SET query = ? WHERE id = ?'); - my $sth_nq_footer = $dbh->prepare( - 'DELETE FROM namedqueries_link_in_footer - WHERE user_id = ? AND namedquery_id = ?'); if (scalar @$tags) { print install_string('update_queries_to_tags'), "\n"; @@ -3580,13 +3577,11 @@ sub _migrate_user_tags { next if !$bug_id; $sth_bug_tag->execute($bug_id, $tag_id); } - + # Existing tags may be used in whines, or shared with # other users. So we convert them rather than delete them. $uri->query_param('tag', $tag_name); $sth_nq->execute($uri->query, $query_id); - # But we don't keep showing them in the footer. - $sth_nq_footer->execute($user_id, $query_id); } $dbh->bz_commit_transaction(); |