|
@@ 305-307 (lines=3) @@
|
| 302 |
|
} |
| 303 |
|
|
| 304 |
|
$pk = []; |
| 305 |
|
foreach ($this->space->getPrimaryIndex()->parts as $part) { |
| 306 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 307 |
|
} |
| 308 |
|
|
| 309 |
|
foreach ($this->getMapper()->getPlugins() as $plugin) { |
| 310 |
|
$plugin->beforeUpdate($instance, $this->space); |
|
@@ 263-265 (lines=3) @@
|
| 260 |
|
unset($this->persisted[$key]); |
| 261 |
|
|
| 262 |
|
$pk = []; |
| 263 |
|
foreach ($this->space->getPrimaryIndex()->parts as $part) { |
| 264 |
|
$pk[] = $this->original[$key][$part[0]]; |
| 265 |
|
} |
| 266 |
|
|
| 267 |
|
foreach ($this->getMapper()->getPlugins() as $plugin) { |
| 268 |
|
$plugin->beforeRemove($instance, $this->space); |