| @@ 72-81 (lines=10) @@ | ||
| 69 | * |
|
| 70 | * @return void |
|
| 71 | */ |
|
| 72 | public function queueDelete($name, Model $model, $changeBy) |
|
| 73 | { |
|
| 74 | // Fill and save to message queue |
|
| 75 | $fill = $this->getFillAttributes($name, $model, $changeBy, [ |
|
| 76 | 'dirty' => [], |
|
| 77 | 'origin' => $model->toArray(), |
|
| 78 | ]); |
|
| 79 | ||
| 80 | return $this->fill($fill)->save(); |
|
| 81 | } |
|
| 82 | ||
| 83 | /** |
|
| 84 | * Insert records about tag changes into the message queue. |
|
| @@ 67-76 (lines=10) @@ | ||
| 64 | * |
|
| 65 | * @return void |
|
| 66 | */ |
|
| 67 | public function queueDelete($name, Model $model, $changeBy) |
|
| 68 | { |
|
| 69 | // Fill and save to message queue |
|
| 70 | $fill = $this->getFillAttributes($name, $model, $changeBy, [ |
|
| 71 | 'dirty' => [], |
|
| 72 | 'origin' => $model->toArray(), |
|
| 73 | ]); |
|
| 74 | ||
| 75 | return $this->model->fill($fill)->save(); |
|
| 76 | } |
|
| 77 | ||
| 78 | /** |
|
| 79 | * Insert records about tag changes into the message queue. |
|