From 09502fcb368c6b18a936b0b0aeb0e685829ad570 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 14 Feb 2014 19:24:12 +0100 Subject: remove the JsonSerializable interface from \OC\Files\FileInfo --- lib/private/files/fileinfo.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/private') 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 */ -- cgit v1.2.3