Remove superfluous $
This commit is contained in:
parent
c9c5e1b97f
commit
86143beb6a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue