1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Removing leftover debug code

This commit is contained in:
mcfly
2008-11-29 18:47:39 +00:00
parent 480b484b7c
commit 7351b6c03d

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_handlers/mysql_class.php,v $ | $Source: /cvs_backup/e107_0.8/e107_handlers/mysql_class.php,v $
| $Revision: 1.30 $ | $Revision: 1.31 $
| $Date: 2008-11-29 18:22:46 $ | $Date: 2008-11-29 18:47:39 $
| $Author: mcfly_e107 $ | $Author: mcfly_e107 $
| |
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
@@ -30,7 +30,7 @@ $db_ConnectionID = NULL; // Stores ID for the first DB connection used - which s
* MySQL Abstraction class * MySQL Abstraction class
* *
* @package e107 * @package e107
* @version $Revision: 1.30 $ * @version $Revision: 1.31 $
* @author $Author: mcfly_e107 $ * @author $Author: mcfly_e107 $
*/ */
class db { class db {
@@ -184,7 +184,7 @@ class db {
$db_mySQLQueryCount++; $db_mySQLQueryCount++;
if ($debug == 'now') { if ($debug == 'now') {
echo "** $query"; echo "** $query<br />\n";
} }
if ($debug !== FALSE || strstr(e_QUERY, 'showsql')) if ($debug !== FALSE || strstr(e_QUERY, 'showsql'))
{ {
@@ -376,10 +376,8 @@ class db {
if (is_array($arg)) // Remove the need for a separate db_UpdateArray() function. if (is_array($arg)) // Remove the need for a separate db_UpdateArray() function.
{ {
$new_data = ''; $new_data = '';
print_a($arg);
$the_where = $arg['WHERE']; $the_where = $arg['WHERE'];
unset($arg['WHERE']); unset($arg['WHERE']);
echo "where = {$the_where} <br />";
$fieldTypes = $this->_getTypes($arg); $fieldTypes = $this->_getTypes($arg);
foreach ($arg as $fn => $fv) foreach ($arg as $fn => $fv)
{ {