summaryrefslogtreecommitdiffstats
path: root/core/avatar
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-31 18:27:28 +0200
committerkondou <kondou@ts.unde.re>2013-08-31 18:27:28 +0200
commitaa88eea9cf366c07b0a311adc5ee64f0ae86ff33 (patch)
treedd9a4a47f56e4eb688366a70f1bd0fb7dd2c5a36 /core/avatar
parent5d653753bd8f6f1294dfbfa112757e5509ddc80d (diff)
downloadnextcloud-server-aa88eea9cf366c07b0a311adc5ee64f0ae86ff33.tar.gz
nextcloud-server-aa88eea9cf366c07b0a311adc5ee64f0ae86ff33.zip
Sanitize displayname, respect data @ $element, fix routename, clean after cropping, updateAvatar with displayname
Diffstat (limited to 'core/avatar')
-rw-r--r--core/avatar/controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/avatar/controller.php b/core/avatar/controller.php
index 66ee7edafbe..85ac251d094 100644
--- a/core/avatar/controller.php
+++ b/core/avatar/controller.php
@@ -25,8 +25,8 @@ class OC_Core_Avatar_Controller {
$size = 64;
}
- $ava = new \OC_Avatar();
- $image = $ava->get($user, $size);
+ $avatar = new \OC_Avatar();
+ $image = $avatar->get($user, $size);
if ($image instanceof \OC_Image) {
$image->show();