01.28
php
saved
hiromi
Note
hiromi did not leave a note
hiromi did not leave a note
- 1443,1496d1442
- +
- +
- + if ($this->hasAndBelongsToMany[$assoc]['unique']) {
- + );
- + 'conditions' => $conditions,
- + 'fields' => $this->hasAndBelongsToMany[$assoc]['associationForeignKey']
- + ));
- +
- + $associationForeignKey = "{$join}." . $this->hasAndBelongsToMany[$assoc]['associationForeignKey'];
- +
- +
- + $newLink = null;
- +
- + $newLink = $row;
- + continue;
- + }
- + $newLink = $row[$this->hasAndBelongsToMany[$assoc]['associationForeignKey']];
- + continue;
- + }
- + $newLink = $row[$join][$this->hasAndBelongsToMany[$assoc]['associationForeignKey']];
- + }
- +
- + if(!$newLink){
- + continue;
- + }
- +
- + $newLinks[] = $newLink;
- + }
- +
- +
- + $conditions[$associationForeignKey] = $toDeleteLinks;
- + $db->delete($this->{$join}, $conditions);
- + }
- + }
- +
- 1499,1501d1444
- + continue;
- + }
- 1513,1516d1455
- + continue;
- + }
- 1519,1522d1457
- + continue;
- + }
- 1526c1461,1479
- +
- ---
- -
- - if ($this->hasAndBelongsToMany[$assoc]['unique']) {
- - );
- - 'conditions' => $conditions,
- - 'fields' => $this->hasAndBelongsToMany[$assoc]['associationForeignKey']
- - ));
- -
- - $associationForeignKey = "{$join}." . $this->hasAndBelongsToMany[$assoc]['associationForeignKey'];
- - $conditions[$associationForeignKey] = $oldLinks;
- - $db->delete($this->{$join}, $conditions);
- - }
- - }
- 1540d1492
- +
Parsed in 0.218 seconds, using GeSHi 1.0.7.14