| @@ 134-136 (lines=3) @@ | ||
| 131 | return; |
|
| 132 | } |
|
| 133 | ||
| 134 | if (! $this->isDirty(static::UPDATED_BY) && $this->hasTableColumn(static::UPDATED_BY)) { |
|
| 135 | $this->{static::UPDATED_BY} = $user_id; |
|
| 136 | } |
|
| 137 | ||
| 138 | if (! $this->exists && ! $this->isDirty(static::CREATED_BY) && $this->hasTableColumn(static::CREATED_BY)) { |
|
| 139 | $this->{static::CREATED_BY} = $user_id; |
|
| @@ 138-140 (lines=3) @@ | ||
| 135 | $this->{static::UPDATED_BY} = $user_id; |
|
| 136 | } |
|
| 137 | ||
| 138 | if (! $this->exists && ! $this->isDirty(static::CREATED_BY) && $this->hasTableColumn(static::CREATED_BY)) { |
|
| 139 | $this->{static::CREATED_BY} = $user_id; |
|
| 140 | } |
|
| 141 | } |
|
| 142 | ||
| 143 | /** |
|