]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/UserRepo.php
Fixed failing webhook test cases
[bookstack] / app / Auth / UserRepo.php
index 84002b7f7a5b720fc8be550bbce2cfb72b88022f..ff2e91ee23a8ad8c7b3dfdee003ff741a04db1a4 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace BookStack\Auth;
 
-use Activity;
 use BookStack\Entities\EntityProvider;
 use BookStack\Entities\Models\Book;
 use BookStack\Entities\Models\Bookshelf;
@@ -218,14 +217,6 @@ class UserRepo
         }
     }
 
-    /**
-     * Get the latest activity for a user.
-     */
-    public function getActivity(User $user, int $count = 20, int $page = 0): array
-    {
-        return Activity::userActivity($user, $count, $page);
-    }
-
     /**
      * Get the recently created content for this given user.
      */