]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add a comment to clear defaultavatar-functionality
authorkondou <kondou@ts.unde.re>
Wed, 11 Sep 2013 14:04:41 +0000 (16:04 +0200)
committerkondou <kondou@ts.unde.re>
Wed, 11 Sep 2013 14:04:41 +0000 (16:04 +0200)
core/avatar/controller.php

index c7624b90b659b2ee5b1f4a190dc2396681061e71..37ddef412ea9c75f93570764719be9c98e654967 100644 (file)
@@ -32,6 +32,7 @@ class Controller {
                        \OC_Response::setETagHeader(crc32($image->data()));
                        $image->show();
                } else {
+                       // Signalizes $.avatar() to display a defaultavatar
                        \OC_JSON::success();
                }
        }