From 88ac09848b431b2182ac7dc7e71ffe252a4c9239 Mon Sep 17 00:00:00 2001 From: Geoff Munn Date: Wed, 30 Sep 2009 20:45:12 +0000 Subject: [PATCH] BUG FIX: debug data removed --- code/PostgreSQLDatabase.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/code/PostgreSQLDatabase.php b/code/PostgreSQLDatabase.php index 86a1731..d0ea06f 100644 --- a/code/PostgreSQLDatabase.php +++ b/code/PostgreSQLDatabase.php @@ -156,7 +156,6 @@ class PostgreSQLDatabase extends Database { $starttime = microtime(true); } - echo $sql . "

\n\n"; $handle = pg_query($this->dbConn, $sql); if(isset($_REQUEST['showqueries'])) { @@ -1072,13 +1071,6 @@ class PostgreSQLDatabase extends Database { if($sqlQuery->having) $text .= " HAVING ( " . implode(" ) AND ( ", $sqlQuery->having) . " )"; if($sqlQuery->orderby) $text .= " ORDER BY " . $sqlQuery->orderby; - echo 'limit:
';
-		print_r($sqlQuery->limit);
-		echo '
'; - echo 'order by:
';
-		print_r($sqlQuery->orderby);
-		echo '
'; - if($sqlQuery->limit) { $limit = $sqlQuery->limit; // Pass limit as array or SQL string value