]> BookStack Code Mirror - bookstack/blobdiff - app/Actions/ActivityService.php
Minor capitalisation fix for Estonian
[bookstack] / app / Actions / ActivityService.php
index f8a0825bbd8794b9ae1c89a5986a21219f08fb02..bc7a6b6b7c3353f39384ae73d88eaca284d5ed41 100644 (file)
@@ -11,7 +11,6 @@ use BookStack\Interfaces\Loggable;
 use Illuminate\Database\Eloquent\Builder;
 use Illuminate\Database\Eloquent\Relations\Relation;
 use Illuminate\Support\Facades\Log;
-use Illuminate\Support\Facades\Request;
 
 class ActivityService
 {
@@ -57,6 +56,7 @@ class ActivityService
     protected function newActivityForUser(string $type): Activity
     {
         $ip = request()->ip() ?? '';
+
         return $this->activity->newInstance()->forceFill([
             'type'     => strtolower($type),
             'user_id'  => user()->id,