diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-01 11:56:41 -0600 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-03-04 10:29:17 +0100 |
commit | ddbe6d0d335ba7bc7170ad234667ca62f638bd3b (patch) | |
tree | 942313e13084891456bbee93dc42e27bfc4e476d /web/lib | |
parent | ef8fab0c12f567acac80c050f44db38111f00104 (diff) | |
download | aurweb-ddbe6d0d335ba7bc7170ad234667ca62f638bd3b.tar.xz |
Remove dead dependency/required by link code
For some reason we were doing this song and dance "iterate all the known
parameters" business. This is totally unnecessary, clutters the links,
and was spewing errors all over the place, so kill it.
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/pkgfuncs.inc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 0fbe310..75f076e 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -1,10 +1,6 @@ <?php include_once("config.inc"); -# define variables used during pkgsearch -# -$pkgsearch_vars = array("O", "L", "C", "K", "SB", "SO", "PP", "do_Orphans", "SeB"); - # Make sure this visitor can delete the requested package comment # They can delete if they were the comment submitter, or if they are a TU/Dev # @@ -316,7 +312,6 @@ function pkgname_is_blacklisted($name) { # display package details # function package_details($id=0, $SID="") { - global $pkgsearch_vars; $atype = account_from_sid($SID); $uid = uid_from_sid($SID); |