mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Merging fixes for associations to 1.1.x.x branch
Removed commented code from Model::_ _generateAssociation() in 1.2.x.x git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3796 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
708dc77ae8
commit
dedb404423
1 changed files with 0 additions and 4 deletions
|
@ -603,10 +603,6 @@ class Model extends Overloadable {
|
|||
foreach($this->{$type} as $assocKey => $assocData) {
|
||||
$class = $assocKey;
|
||||
|
||||
//if (isset($this->{$type}[$assocKey]['className']) && $this->{$type}[$assocKey]['className'] !== null) {
|
||||
// $class = $this->{$type}[$assocKey]['className'];
|
||||
//}
|
||||
|
||||
foreach($this->__associationKeys[$type] as $key) {
|
||||
if (!isset($this->{$type}[$assocKey][$key]) || $this->{$type}[$assocKey][$key] == null) {
|
||||
$data = '';
|
||||
|
|
Loading…
Add table
Reference in a new issue