summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-30 13:26:13 +0200
committerkondou <kondou@ts.unde.re>2013-08-30 13:26:13 +0200
commit30526ded803e352f3f7322ed96ebc480d5e3f9c1 (patch)
tree8302ed249ff7515ad2f5408c3e9e2eab26453f14 /lib
parent80e10f01c42ec43c09816668a3aff28d55ef65b9 (diff)
downloadnextcloud-server-30526ded803e352f3f7322ed96ebc480d5e3f9c1.tar.gz
nextcloud-server-30526ded803e352f3f7322ed96ebc480d5e3f9c1.zip
Fix \OCP\Avatar
Diffstat (limited to 'lib')
-rw-r--r--lib/public/avatar.php18
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/public/avatar.php b/lib/public/avatar.php
index f229da19543..6da8e83a9af 100644
--- a/lib/public/avatar.php
+++ b/lib/public/avatar.php
@@ -8,21 +8,5 @@
namespace OCP;
-class Avatar {
- private $avatar;
-
- public function __construct () {
- $this->avatar = new \OC_Avatar();
-
- public function get ($user, $size = 64) {
- return $avatar->get($user, $size);
- }
-
- public function set ($user, $data) {
- return $avatar->set($user, $data);
- }
-
- public function remove ($user) {
- return $avatar->remove($user);
- }
+class Avatar extends \OC_Avatar {
}