]> BookStack Code Mirror - bookstack/blobdiff - app/Services/ActivityService.php
Added view count tracking with personalised lists
[bookstack] / app / Services / ActivityService.php
index 5bfee81abce91b378f83deb283d6f1c59f97da73..4da928fad9fd1e89a3fa8c67ebbddb0885067247 100644 (file)
@@ -17,7 +17,7 @@ class ActivityService
     public function __construct(Activity $activity)
     {
         $this->activity = $activity;
-        $this->user = Auth::user();
+        $this->user = auth()->user();
     }
 
     /**