@@ -4,8 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Illuminate\Support\Facades\Auth; |
| 6 | 6 | |
| 7 | -class Common |
|
| 8 | -{ |
|
| 7 | +class Common { |
|
| 9 | 8 | |
| 10 | 9 | /** |
| 11 | 10 | * Register new activity log |
@@ -182,8 +182,8 @@ |
||
| 182 | 182 | $unreg = null; |
| 183 | 183 | if($thread->delete() && $this->deleteTopic($thread->id_topic)) { |
| 184 | 184 | $unreg = Common::unregisterLog([ |
| 185 | - 'target' => 'thread', |
|
| 186 | - 'target_id' => $id |
|
| 185 | + 'target' => 'thread', |
|
| 186 | + 'target_id' => $id |
|
| 187 | 187 | ]); |
| 188 | 188 | } |
| 189 | 189 | if($unreg != null && $unreg) { |