summaryrefslogtreecommitdiffstats
path: root/lib/private/files/fileinfo.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-02-14 19:24:12 +0100
committerRobin Appelman <icewind@owncloud.com>2014-02-14 19:26:06 +0100
commit09502fcb368c6b18a936b0b0aeb0e685829ad570 (patch)
tree1973eb8beab197115c8c59b89e5832b758f17445 /lib/private/files/fileinfo.php
parent2a7509ee50b3d16392c54c44cad003e8c867e349 (diff)
downloadnextcloud-server-09502fcb368c6b18a936b0b0aeb0e685829ad570.tar.gz
nextcloud-server-09502fcb368c6b18a936b0b0aeb0e685829ad570.zip
remove the JsonSerializable interface from \OC\Files\FileInfo
Diffstat (limited to 'lib/private/files/fileinfo.php')
-rw-r--r--lib/private/files/fileinfo.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/private/files/fileinfo.php b/lib/private/files/fileinfo.php
index 7edea13df96..c77571cd2a7 100644
--- a/lib/private/files/fileinfo.php
+++ b/lib/private/files/fileinfo.php
@@ -8,7 +8,7 @@
namespace OC\Files;
-class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess, \JsonSerializable {
+class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
/**
* @var array $data
*/
@@ -52,10 +52,6 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess, \JsonSerializable {
return $this->data[$offset];
}
- public function jsonSerialize() {
- return $this->data;
- }
-
/**
* @return string
*/