mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Removing unused statement, thanks jrbasso
This commit is contained in:
parent
2e49a96634
commit
3f9813a9ec
2 changed files with 1 additions and 2 deletions
|
@ -494,7 +494,6 @@ class DboSource extends DataSource {
|
|||
return $this->startQuote . implode($this->endQuote . '.' . $this->startQuote, $items) . $this->endQuote;
|
||||
}
|
||||
if (preg_match('/^\w+\.\*$/', $data)) { // string.*
|
||||
$items = explode('.', $data);
|
||||
return $this->startQuote . str_replace('.*', $this->endQuote . '.*', $data);
|
||||
}
|
||||
if (preg_match('/^(\w+)\((.*)\)$/', $data, $matches)) { // Functions
|
||||
|
|
|
@ -789,7 +789,7 @@ class Set {
|
|||
if (empty($val2)) {
|
||||
return (array)$val1;
|
||||
}
|
||||
$intersection = array_intersect_key($val1,$val2);
|
||||
$intersection = array_intersect_key($val1, $val2);
|
||||
while (list($key,) = each($intersection)) {
|
||||
if ($val1[$key] == $val2[$key]) {
|
||||
unset($val1[$key]);
|
||||
|
|
Loading…
Add table
Reference in a new issue