summaryrefslogtreecommitdiffstats
path: root/lib/public/avatar.php
blob: f229da195436cd4a0c86be90ce256b10819b2717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
 * Copyright (c) 2013 Christopher Schäpers <christopher@schaepers.it>
 * This file is licensed under the Affero General Public License version 3 or
 * later.
 * See the COPYING-README file.
 */

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);
	}
}