summaryrefslogtreecommitdiffstats
path: root/core/avatar
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-28 21:20:28 +0200
committerkondou <kondou@ts.unde.re>2013-08-28 21:20:28 +0200
commitbdf48a6daa8234b307bb7b73a231de5227e10b30 (patch)
treec13ff6f3eafcf63fee21fd4cabd86643824606a6 /core/avatar
parent67c5be9f199c08ac4c9307901e8e6cc678943f05 (diff)
downloadnextcloud-server-bdf48a6daa8234b307bb7b73a231de5227e10b30.tar.gz
nextcloud-server-bdf48a6daa8234b307bb7b73a231de5227e10b30.zip
Use OC.Router.generate, TODO use cache, prepare for defaultavatars
Diffstat (limited to 'core/avatar')
-rw-r--r--core/avatar/controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/avatar/controller.php b/core/avatar/controller.php
index c889385c21d..8492ee909c6 100644
--- a/core/avatar/controller.php
+++ b/core/avatar/controller.php
@@ -91,7 +91,7 @@ class OC_Core_Avatar_Controller {
// TODO deliver actual size here as well, so Jcrop can do its magic and we have the actual coordinates here again
// TODO or don't have a size parameter and only resize client sided (looks promising)
//
- // TODO make a cronjob that cleans up the tmpavatar after it's older than 2 hours, should be run every hour
+ // TODO move the tmpavatar to the cache instead, so it's cleaned up after some time
$user = OC_User::getUser();
$view = new \OC\Files\View('/'.$user);