aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/SimpleFS
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-09-07 16:09:22 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-10-05 11:00:16 +0200
commit6807cb684f64587f1747b5168eb42e5172c889eb (patch)
tree8cd20e87f28693c1c4d2dc44ea9c6c43f597ceeb /lib/private/Files/SimpleFS
parentac38a3a654df909d2c0c9d7c4d84e8e5ea2c587a (diff)
downloadnextcloud-server-6807cb684f64587f1747b5168eb42e5172c889eb.tar.gz
nextcloud-server-6807cb684f64587f1747b5168eb42e5172c889eb.zip
avatar to appdata
* Fix AvatarTest Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Files/SimpleFS')
-rw-r--r--lib/private/Files/SimpleFS/SimpleFolder.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Files/SimpleFS/SimpleFolder.php b/lib/private/Files/SimpleFS/SimpleFolder.php
index 8ce6c013c1f..5b55fe0f157 100644
--- a/lib/private/Files/SimpleFS/SimpleFolder.php
+++ b/lib/private/Files/SimpleFS/SimpleFolder.php
@@ -65,6 +65,10 @@ class SimpleFolder implements ISimpleFolder {
$this->folder->delete();
}
+ public function fileExists($name) {
+ return $this->folder->nodeExists($name);
+ }
+
public function getFile($name) {
$file = $this->folder->get($name);