mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
removing unused parameter for value()
This commit is contained in:
parent
00dd1ccc96
commit
4d702ee97f
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue