summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
*/