summaryrefslogtreecommitdiffstats
path: root/core/Controller/AvatarController.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-06-09 12:05:02 +0200
committerLukas Reschke <lukas@owncloud.com>2016-06-09 17:55:26 +0200
commit5fdde426eb416b470bc37c86a518c49767a55251 (patch)
tree76837729f0e640a0fdfcc6d5c02afd2ff2f256ce /core/Controller/AvatarController.php
parent53ba111e21de9c1c3971488911b48fb2aecca112 (diff)
downloadnextcloud-server-5fdde426eb416b470bc37c86a518c49767a55251.tar.gz
nextcloud-server-5fdde426eb416b470bc37c86a518c49767a55251.zip
Add fancy layout
Diffstat (limited to 'core/Controller/AvatarController.php')
-rw-r--r--core/Controller/AvatarController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Controller/AvatarController.php b/core/Controller/AvatarController.php
index 1bff58cfc4e..788125f0cfe 100644
--- a/core/Controller/AvatarController.php
+++ b/core/Controller/AvatarController.php
@@ -85,7 +85,7 @@ class AvatarController extends Controller {
IL10N $l10n,
IUserManager $userManager,
IUserSession $userSession,
- Folder $userFolder,
+ Folder $userFolder = null,
ILogger $logger) {
parent::__construct($appName, $request);
@@ -101,6 +101,7 @@ class AvatarController extends Controller {
/**
* @NoAdminRequired
* @NoCSRFRequired
+ * @PublicPage
*
* @param string $userId
* @param int $size