removing unused parameter for value()

This commit is contained in:
Ceeram 2011-07-11 22:13:03 +02:00
parent 00dd1ccc96
commit 4d702ee97f
2 changed files with 3 additions and 3 deletions

View file

@ -840,8 +840,8 @@ class DboOracle extends DboSource {
* @param string $data String to be prepared for use in an SQL statement
* @return string Quoted and escaped
*/
public function value($data, $column = null, $safe = false) {
$parent = parent::value($data, $column, $safe);
public function value($data, $column = null) {
$parent = parent::value($data, $column);
if ($parent != null) {
return $parent;

View file

@ -986,7 +986,7 @@ class DboSource extends DataSource {
$count = count($fields);
for ($i = 0; $i < $count; $i++) {
$valueInsert[] = $this->value($values[$i], $model->getColumnType($fields[$i]), false);
$valueInsert[] = $this->value($values[$i], $model->getColumnType($fields[$i]));
}
for ($i = 0; $i < $count; $i++) {
$fieldInsert[] = $this->name($fields[$i]);