diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-03-29 23:59:51 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-03-29 23:59:51 +0200 |
commit | 861cae72a4b21dee95c716db4076c7aa78932f75 (patch) | |
tree | 87ca6bd5e5b87e26506c9029cd2fc4481967376e /Bugzilla | |
parent | a5086cb7ddc55dd8422c85bbb9e251cb1a2c7f8e (diff) | |
download | bugs-861cae72a4b21dee95c716db4076c7aa78932f75.tar bugs-861cae72a4b21dee95c716db4076c7aa78932f75.tar.gz bugs-861cae72a4b21dee95c716db4076c7aa78932f75.tar.bz2 bugs-861cae72a4b21dee95c716db4076c7aa78932f75.tar.xz bugs-861cae72a4b21dee95c716db4076c7aa78932f75.zip |
Bug 552476: Remove the obsolete Bugzilla::Flag->has_flags method
a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Flag.pm | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm index 59308501a..e6b7bb936 100644 --- a/Bugzilla/Flag.pm +++ b/Bugzilla/Flag.pm @@ -228,26 +228,6 @@ sub bug { =over -=item C<has_flags> - -Returns 1 if at least one flag exists in the DB, else 0. This subroutine -is mainly used to decide to display the "(My )Requests" link in the footer. - -=back - -=cut - -sub has_flags { - my $dbh = Bugzilla->dbh; - - my $has_flags = $dbh->selectrow_array('SELECT 1 FROM flags ' . $dbh->sql_limit(1)); - return $has_flags || 0; -} - -=pod - -=over - =item C<match($criteria)> Queries the database for flags matching the given criteria |