Commit 84c1e818 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 345113: Change the descriptions of dependson and blocked - Patch by Frédéric…

Bug 345113: Change the descriptions of dependson and blocked - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
parent 55af5cb0
...@@ -129,9 +129,8 @@ use constant DEFAULT_FIELDS => ( ...@@ -129,9 +129,8 @@ use constant DEFAULT_FIELDS => (
{name => 'votes', desc => 'Votes'}, {name => 'votes', desc => 'Votes'},
{name => 'qa_contact', desc => 'QAContact', in_new_bugmail => 1}, {name => 'qa_contact', desc => 'QAContact', in_new_bugmail => 1},
{name => 'cc', desc => 'CC', in_new_bugmail => 1}, {name => 'cc', desc => 'CC', in_new_bugmail => 1},
{name => 'dependson', desc => 'BugsThisDependsOn', in_new_bugmail => 1}, {name => 'dependson', desc => 'Depends on', in_new_bugmail => 1},
{name => 'blocked', desc => 'OtherBugsDependingOnThis', {name => 'blocked', desc => 'Blocks', in_new_bugmail => 1},
in_new_bugmail => 1},
{name => 'attachments.description', desc => 'Attachment description'}, {name => 'attachments.description', desc => 'Attachment description'},
{name => 'attachments.filename', desc => 'Attachment filename'}, {name => 'attachments.filename', desc => 'Attachment filename'},
...@@ -472,7 +471,7 @@ sub populate_field_definitions { ...@@ -472,7 +471,7 @@ sub populate_field_definitions {
print "New field name: " . $new_field_name . "\n"; print "New field name: " . $new_field_name . "\n";
$dbh->do('UPDATE fielddefs SET name = ? WHERE id = ?', $dbh->do('UPDATE fielddefs SET name = ? WHERE id = ?',
undef, ($new_field_name, $old_field_id)); undef, ($new_field_name, $old_field_id));
} }
# This field has to be created separately, or the above upgrade code # This field has to be created separately, or the above upgrade code
# might not run properly. # might not run properly.
......
...@@ -1157,8 +1157,8 @@ our %names_to_events = ( ...@@ -1157,8 +1157,8 @@ our %names_to_events = (
'Attachment description' => EVT_ATTACHMENT_DATA, 'Attachment description' => EVT_ATTACHMENT_DATA,
'Attachment mime type' => EVT_ATTACHMENT_DATA, 'Attachment mime type' => EVT_ATTACHMENT_DATA,
'Attachment is patch' => EVT_ATTACHMENT_DATA, 'Attachment is patch' => EVT_ATTACHMENT_DATA,
'BugsThisDependsOn' => EVT_DEPEND_BLOCK, 'Depends on' => EVT_DEPEND_BLOCK,
'OtherBugsDependingOnThis' => EVT_DEPEND_BLOCK); 'Blocks' => EVT_DEPEND_BLOCK);
# Returns true if the user wants mail for a given bug change. # Returns true if the user wants mail for a given bug change.
# Note: the "+" signs before the constants suppress bareword quoting. # Note: the "+" signs before the constants suppress bareword quoting.
......
Markdown is supported
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