Remove unnecessary atype and uid lookup from package_details()

These were never used in the function. Where they are used is in the
pkg_details.php template, so move them closer to their actual usage so
as not to confuse poor programmers such as myself.

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Dan McGee 2011-08-11 09:04:01 -05:00 committed by Lukas Fleischer
parent 34fe0bec4c
commit 45a50d4a66
2 changed files with 2 additions and 3 deletions

View file

@ -1,4 +1,6 @@
<?php
$atype = account_from_sid($SID);
$uid = uid_from_sid($SID);
$pkgid = intval($_REQUEST['ID']);
if ($uid == $row["MaintainerUID"] or