diff options
author | mkanat%kerio.com <> | 2006-03-02 05:33:01 +0000 |
---|---|---|
committer | mkanat%kerio.com <> | 2006-03-02 05:33:01 +0000 |
commit | 9fcdc67a551a089ebd926a560580e77c58c8ae21 (patch) | |
tree | 182d6cdc1d1c5c50ee13baed0fd7b333d7ce6316 /globals.pl | |
parent | 877a6c19c0974eb7e51856b7a2314dbee6079893 (diff) | |
download | bugs-9fcdc67a551a089ebd926a560580e77c58c8ae21.tar bugs-9fcdc67a551a089ebd926a560580e77c58c8ae21.tar.gz bugs-9fcdc67a551a089ebd926a560580e77c58c8ae21.tar.bz2 bugs-9fcdc67a551a089ebd926a560580e77c58c8ae21.tar.xz bugs-9fcdc67a551a089ebd926a560580e77c58c8ae21.zip |
Bug 328435: Move GroupNameToId into Bugzilla/Group.pm and eliminate GroupExists
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=wicked, a=justdave
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/globals.pl b/globals.pl index 2c7861c6b..b9b6e02d5 100644 --- a/globals.pl +++ b/globals.pl @@ -499,24 +499,6 @@ sub BugInGroupId { return $bugingroup; } -sub GroupExists { - my ($groupname) = (@_); - PushGlobalSQLState(); - SendSQL("SELECT id FROM groups WHERE name=" . SqlQuote($groupname)); - my $id = FetchOneColumn(); - PopGlobalSQLState(); - return $id; -} - -sub GroupNameToId { - my ($groupname) = (@_); - PushGlobalSQLState(); - SendSQL("SELECT id FROM groups WHERE name=" . SqlQuote($groupname)); - my $id = FetchOneColumn(); - PopGlobalSQLState(); - return $id; -} - sub GroupIdToName { my ($groupid) = (@_); PushGlobalSQLState(); |