|
@@ 4487-4491 (lines=5) @@
|
| 4484 |
|
// Check for the localizations of that element |
| 4485 |
|
$this->moveL10nOverlayRecords($table, $uid, $destPid, $destPid); |
| 4486 |
|
// Call post processing hooks: |
| 4487 |
|
foreach ($hookObjectsArr as $hookObj) { |
| 4488 |
|
if (method_exists($hookObj, 'moveRecord_firstElementPostProcess')) { |
| 4489 |
|
$hookObj->moveRecord_firstElementPostProcess($table, $uid, $destPid, $moveRec, $updateFields, $this); |
| 4490 |
|
} |
| 4491 |
|
} |
| 4492 |
|
|
| 4493 |
|
$this->getRecordHistoryStore()->moveRecord($table, $uid, ['oldPageId' => $propArr['pid'], 'newPageId' => $destPid, 'oldData' => $propArr, 'newData' => $updateFields]); |
| 4494 |
|
if ($this->enableLogging) { |
|
@@ 4547-4551 (lines=5) @@
|
| 4544 |
|
// Check for the localizations of that element |
| 4545 |
|
$this->moveL10nOverlayRecords($table, $uid, $destPid, $originalRecordDestinationPid); |
| 4546 |
|
// Call post processing hooks: |
| 4547 |
|
foreach ($hookObjectsArr as $hookObj) { |
| 4548 |
|
if (method_exists($hookObj, 'moveRecord_afterAnotherElementPostProcess')) { |
| 4549 |
|
$hookObj->moveRecord_afterAnotherElementPostProcess($table, $uid, $destPid, $origDestPid, $moveRec, $updateFields, $this); |
| 4550 |
|
} |
| 4551 |
|
} |
| 4552 |
|
$this->getRecordHistoryStore()->moveRecord($table, $uid, ['oldPageId' => $propArr['pid'], 'newPageId' => $destPid, 'oldData' => $propArr, 'newData' => $updateFields]); |
| 4553 |
|
if ($this->enableLogging) { |
| 4554 |
|
// Logging... |