Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
34c969c2
Commit
34c969c2
authored
Jan 11, 2012
by
Dave Lawrence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backed out mistaken commit of patch from bug 714370
parent
a1a0917d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
Flag.pm
Bugzilla/Flag.pm
+0
-13
No files found.
Bugzilla/Flag.pm
View file @
34c969c2
...
@@ -84,8 +84,6 @@ use constant DB_COLUMNS => qw(
...
@@ -84,8 +84,6 @@ use constant DB_COLUMNS => qw(
type_id
type_id
bug_id
bug_id
attach_id
attach_id
creation_date
modification_date
requestee_id
requestee_id
setter_id
setter_id
status
status
...
@@ -134,14 +132,6 @@ Returns the ID of the attachment this flag belongs to, if any.
...
@@ -134,14 +132,6 @@ Returns the ID of the attachment this flag belongs to, if any.
Returns the status '+', '-', '?' of the flag.
Returns the status '+', '-', '?' of the flag.
=item C<creation_date>
Returns the timestamp when the flag was created.
=item C<modification_date>
Returns the timestamp when the flag was last modified.
=back
=back
=cut
=cut
...
@@ -154,8 +144,6 @@ sub attach_id { return $_[0]->{'attach_id'}; }
...
@@ -154,8 +144,6 @@ sub attach_id { return $_[0]->{'attach_id'}; }
sub
status
{
return
$_
[
0
]
->
{
'status'
};
}
sub
status
{
return
$_
[
0
]
->
{
'status'
};
}
sub
setter_id
{
return
$_
[
0
]
->
{
'setter_id'
};
}
sub
setter_id
{
return
$_
[
0
]
->
{
'setter_id'
};
}
sub
requestee_id
{
return
$_
[
0
]
->
{
'requestee_id'
};
}
sub
requestee_id
{
return
$_
[
0
]
->
{
'requestee_id'
};
}
sub
creation_date
{
return
$_
[
0
]
->
{
'creation_date'
};
}
sub
modification_date
{
return
$_
[
0
]
->
{
'modification_date'
};
}
###############################
###############################
#### Methods ####
#### Methods ####
...
@@ -462,7 +450,6 @@ sub update {
...
@@ -462,7 +450,6 @@ sub update {
if
(
scalar
(
keys
%
$changes
))
{
if
(
scalar
(
keys
%
$changes
))
{
$dbh
->
do
(
'UPDATE flags SET modification_date = ? WHERE id = ?'
,
$dbh
->
do
(
'UPDATE flags SET modification_date = ? WHERE id = ?'
,
undef
,
(
$timestamp
,
$self
->
id
));
undef
,
(
$timestamp
,
$self
->
id
));
$self
->
{
'modification_date'
}
=
$timestamp
;
}
}
return
$changes
;
return
$changes
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment