diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-24 12:03:22 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-05 11:00:14 +0200 |
commit | 5d8b941fea23f09586b825324d0dccd39284bc26 (patch) | |
tree | 643eabb151797d10a6c83c994c02aab71b18166e /lib/private/Avatar.php | |
parent | 66ae43880b7d898e54a47d3a4651684d85a1e951 (diff) | |
download | nextcloud-server-5d8b941fea23f09586b825324d0dccd39284bc26.tar.gz nextcloud-server-5d8b941fea23f09586b825324d0dccd39284bc26.zip |
Initial AppData
* Introduce simpleFS
* Introduce IAppData
* Introduce AppData Factory to get your AppData folder
* Update FileDisplayResponse
* AppData implements a ISimpleRoot but lazy. So only if an apps starts
to access data will stuff get initialized
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Avatar.php')
-rw-r--r-- | lib/private/Avatar.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/private/Avatar.php b/lib/private/Avatar.php index 9e8bd0136c2..e7fd4da4615 100644 --- a/lib/private/Avatar.php +++ b/lib/private/Avatar.php @@ -33,6 +33,7 @@ use OCP\Files\Folder; use OCP\Files\File; use OCP\Files\NotFoundException; use OCP\Files\NotPermittedException; +use OCP\Files\SimpleFS\ISimpleFolder; use OCP\IAvatar; use OCP\IConfig; use OCP\IImage; @@ -45,7 +46,7 @@ use OCP\ILogger; */ class Avatar implements IAvatar { - /** @var Folder */ + /** @var ISimpleFolder */ private $folder; /** @var IL10N */ private $l; @@ -59,13 +60,13 @@ class Avatar implements IAvatar { /** * constructor * - * @param Folder $folder The folder where the avatars are + * @param ISimpleFolder $folder The folder where the avatars are * @param IL10N $l * @param User $user * @param ILogger $logger * @param IConfig $config */ - public function __construct(Folder $folder, + public function __construct(ISimpleFolder $folder, IL10N $l, $user, ILogger $logger, |