Remove superfluous $

This commit is contained in:
kondou 2013-09-14 14:15:52 +02:00
parent c9c5e1b97f
commit 86143beb6a
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class Controller {
$image->crop($crop['x'], $crop['y'], $crop['w'], $crop['h']); $image->crop($crop['x'], $crop['y'], $crop['w'], $crop['h']);
try { try {
$avatar = new \OC_Avatar($user); $avatar = new \OC_Avatar($user);
$avatar->set($$image->data()); $avatar->set($image->data());
// Clean up // Clean up
\OC_Cache::remove('tmpavatar'); \OC_Cache::remove('tmpavatar');
\OC_JSON::success(); \OC_JSON::success();