diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-08-19 17:27:36 +0300 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-08-19 17:31:17 +0300 |
commit | c639bdaabd52cd5dbb623665e8cbb7f7d17153bd (patch) | |
tree | 94cb3f1e306bd6028b9dfccee132ce44991df840 /encryption_dummy | |
parent | 779cc7b3d3a03e991b8de741570070c0a6571203 (diff) |
implement missing isReadable in dummy encryption module
Diffstat (limited to 'encryption_dummy')
-rw-r--r-- | encryption_dummy/lib/dummymodule.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/encryption_dummy/lib/dummymodule.php b/encryption_dummy/lib/dummymodule.php index 141edfb58..0c2c02109 100644 --- a/encryption_dummy/lib/dummymodule.php +++ b/encryption_dummy/lib/dummymodule.php @@ -135,4 +135,17 @@ class DummyModule implements IEncryptionModule { public function update($path, $uid, array $accessList) { return true; } + + /** + * check if the encryption module is able to read the file, + * e.g. if all encryption keys exists + * + * @param string $path + * @param string $uid user for whom we want to check if he can read the file + * @return boolean + * @since 8.1.0 + */ + public function isReadable($path, $uid) { + return true; + } } |