]> BookStack Code Mirror - bookstack/blobdiff - app/Uploads/UserAvatars.php
added routes for zip export
[bookstack] / app / Uploads / UserAvatars.php
index 0cda31a1c3675a6e38b3e0d141b1c3530718001e..c623247352b17234cd60168fb7686f19375478bc 100644 (file)
@@ -127,7 +127,7 @@ class UserAvatars
     /**
      * Check if fetching external avatars is enabled.
      */
-    protected function avatarFetchEnabled(): bool
+    public function avatarFetchEnabled(): bool
     {
         $fetchUrl = $this->getAvatarUrl();
 
@@ -137,7 +137,7 @@ class UserAvatars
     /**
      * Get the URL to fetch avatars from.
      */
-    protected function getAvatarUrl(): string
+    public function getAvatarUrl(): string
     {
         $configOption = config('services.avatar_url');
         if ($configOption === false) {