Removing debug info

master
pecesama 2007-04-05 00:39:51 +00:00
parent ce6e59d2ef
commit 68253ffe88
1 changed files with 1 additions and 4 deletions

View File

@ -103,7 +103,6 @@ class Conexion_Mysql {
$sqlValues .= "$valor,"; $sqlValues .= "$valor,";
} }
elseif (substr_count(MYSQL_TYPES_DATE, "$tipo_col ")) { elseif (substr_count(MYSQL_TYPES_DATE, "$tipo_col ")) {
echo "<h2>$valor | $tipo_col</h2>";
$valor = $this->formatearFecha($valor, $tipo_col); // formatea las fechas $valor = $this->formatearFecha($valor, $tipo_col); // formatea las fechas
$sqlValues .= "'$valor',"; $sqlValues .= "'$valor',";
@ -118,7 +117,6 @@ class Conexion_Mysql {
// inserta los valores en la DB // inserta los valores en la DB
$sql = "INSERT INTO $tabla $cols VALUES $sqlValues"; $sql = "INSERT INTO $tabla $cols VALUES $sqlValues";
echo $sql;
return $this->ejecutarConsulta($sql); return $this->ejecutarConsulta($sql);
} }
@ -210,7 +208,6 @@ class Conexion_Mysql {
$valor = date("Y-m-d H:i:s",strtotime($valor)); $valor = date("Y-m-d H:i:s",strtotime($valor));
} }
} }
echo "<h4>($valor)</h4>";
return $valor; return $valor;
/* if (gettype($valor) == 'string') $valor = strtotime($valor); /* if (gettype($valor) == 'string') $valor = strtotime($valor);
return date('Y-m-d H:i:s', $valor); return date('Y-m-d H:i:s', $valor);