mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removing _with use.
This commit is contained in:
parent
a7499be154
commit
f9e0ddfac6
1 changed files with 0 additions and 2 deletions
|
@ -239,8 +239,6 @@ class CakeSchema extends Object {
|
|||
foreach ($Object->hasAndBelongsToMany as $Assoc => $assocData) {
|
||||
if (isset($assocData['with'])) {
|
||||
$class = $assocData['with'];
|
||||
} elseif ($assocData['_with']) {
|
||||
$class = $assocData['_with'];
|
||||
}
|
||||
if (is_object($Object->$class)) {
|
||||
$table = $db->fullTableName($Object->$class, false);
|
||||
|
|
Loading…
Reference in a new issue