summaryrefslogtreecommitdiffstats
path: root/core
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
parent53ba111e21de9c1c3971488911b48fb2aecca112 (diff)
downloadnextcloud-server-5fdde426eb416b470bc37c86a518c49767a55251.tar.gz
nextcloud-server-5fdde426eb416b470bc37c86a518c49767a55251.zip
Add fancy layout
Diffstat (limited to 'core')
-rw-r--r--core/Controller/AvatarController.php3
-rw-r--r--core/js/share.js1
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();