diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/AvatarController.php | 3 | ||||
-rw-r--r-- | core/js/share.js | 1 |
2 files changed, 2 insertions, 2 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 diff --git a/core/js/share.js b/core/js/share.js index 61483f4cf4d..cd399dd3cee 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -442,7 +442,6 @@ OC.Share = _.extend(OC.Share || {}, { }); $(document).ready(function() { - if(typeof monthNames != 'undefined'){ // min date should always be the next day var minDate = new Date(); |