@@ -164,8 +164,7 @@ |
||
164 | 164 | if (static::ACTIVE) |
165 | 165 | { |
166 | 166 | $this->repository->findRow($id)->update(['active' => -1]); |
167 | - } |
|
168 | - else |
|
167 | + } else |
|
169 | 168 | { |
170 | 169 | $this->repository->findRow($id)->delete(); |
171 | 170 | } |