summaryrefslogtreecommitdiffstats
path: root/core/avatar
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-09-14 14:15:52 +0200
committerkondou <kondou@ts.unde.re>2013-09-14 14:15:52 +0200
commit86143beb6ae264e31e806dd195a04e5ed6f9f2d1 (patch)
tree576883c0c414a2be04b1bf82b522ffef26209082 /core/avatar
parentc9c5e1b97f2c5951dffc8104e22a315654780118 (diff)
downloadnextcloud-server-86143beb6ae264e31e806dd195a04e5ed6f9f2d1.tar.gz
nextcloud-server-86143beb6ae264e31e806dd195a04e5ed6f9f2d1.zip
Remove superfluous $
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 37ddef412ea..9f7c0517c4a 100644
--- a/core/avatar/controller.php
+++ b/core/avatar/controller.php
@@ -147,7 +147,7 @@ class Controller {
$image->crop($crop['x'], $crop['y'], $crop['w'], $crop['h']);
try {
$avatar = new \OC_Avatar($user);
- $avatar->set($$image->data());
+ $avatar->set($image->data());
// Clean up
\OC_Cache::remove('tmpavatar');
\OC_JSON::success();