summaryrefslogtreecommitdiffstats
path: root/core/avatar
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-09-11 16:04:41 +0200
committerkondou <kondou@ts.unde.re>2013-09-11 16:04:41 +0200
commit037cf22c518b6f3e6a462577c49159a1fae2442d (patch)
treec94fcc54b39fa2f6bcf7500f972a2e31bce8592f /core/avatar
parentbf7f94422fc86558f71e11117caee0758266a163 (diff)
downloadnextcloud-server-037cf22c518b6f3e6a462577c49159a1fae2442d.tar.gz
nextcloud-server-037cf22c518b6f3e6a462577c49159a1fae2442d.zip
Add a comment to clear defaultavatar-functionality
Diffstat (limited to 'core/avatar')
-rw-r--r--core/avatar/controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/avatar/controller.php b/core/avatar/controller.php
index c7624b90b65..37ddef412ea 100644
--- a/core/avatar/controller.php
+++ b/core/avatar/controller.php
@@ -32,6 +32,7 @@ class Controller {
\OC_Response::setETagHeader(crc32($image->data()));
$image->show();
} else {
+ // Signalizes $.avatar() to display a defaultavatar
\OC_JSON::success();
}
}