summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2008-01-23 02:51:33 -0600
committerSimo Leone <simo@archlinux.org>2008-01-23 02:51:33 -0600
commit7bad8a8357773e7918e0b794dbec8a36ee9154ad (patch)
tree65374bd77f1a6abf41092aeb2919d3f10b4c6816 /web/html
parent2bcd8ff1db2b590121d14a616c8969348ca1dfe6 (diff)
downloadaurweb-7bad8a8357773e7918e0b794dbec8a36ee9154ad.tar.xz
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>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/packages.php9
-rw-r--r--web/html/pkgedit.php7
-rw-r--r--web/html/pkgsubmit.php10
3 files changed, 0 insertions, 26 deletions
diff --git a/web/html/packages.php b/web/html/packages.php
index 85012e0..053756f 100644
--- a/web/html/packages.php
+++ b/web/html/packages.php
@@ -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"])) {
diff --git a/web/html/pkgedit.php b/web/html/pkgedit.php
index 9eb2fe2..24b6e23 100644
--- a/web/html/pkgedit.php
+++ b/web/html/pkgedit.php
@@ -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"])) {
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 2c0c7d0..1b74ce7 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -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