Removed QBUG and DBUG

It was broken and hardly used. It's just as easy
to add short print statements or logging if
some debugging output is needed.

Signed-off-by: Simo Leone <simo@archlinux.org>
This commit is contained in:
Simo Leone 2008-01-23 02:51:33 -06:00
parent 2bcd8ff1db
commit 7bad8a8357
5 changed files with 0 additions and 50 deletions

View file

@ -26,15 +26,6 @@ if (isset($_GET['ID'])) {
html_header($title); # print out the HTML header
# enable debugging
#
$DBUG = 0;
if ($DBUG) {
print "<pre>\n";
print_r($_REQUEST);
print "</pre>\n";
}
# get login privileges
#
if (isset($_COOKIE["AURSID"])) {

View file

@ -10,13 +10,6 @@ check_sid(); # see if they're still logged in
html_header(); # print out the HTML header
$svn_idstr = "\$Id$";
$DBUG = 0;
if ($DBUG) {
print "<pre>\n";
print_r($_REQUEST);
print "</pre>\n";
}
# Make sure this visitor is logged in
#
if (isset($_COOKIE["AURSID"])) {

View file

@ -13,20 +13,10 @@ echo "<div class=\"pgbox\">\n";
echo " <div class=\"pgboxtitle\"><span class=\"f3\">".__("Submit")."</span></div>\n";
echo " <div class=\"pgboxbody\">\n";
# Debugging
$DBUG = 0;
if ($_COOKIE["AURSID"]) {
# track upload errors
#
$error = "";
if ($DBUG) {
print "</center><pre>\n";
print_r($_REQUEST);
print "<br>";
print_r($_FILES);
print "</pre><center>\n";
}
if ($_REQUEST["pkgsubmit"]) {
#Before processing, make sure we even have a file