diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2014-02-14 22:11:54 +0100 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2014-02-14 22:11:54 +0100 |
commit | df282d9ef8e040833574fac5c5fd3cbbae1b3209 (patch) | |
tree | 14a192c5ca404b875a453ad801dad81d72dcdd26 /lib/private | |
parent | 41f0ad2d1397af147fa9068c1236b53b5b8a05bd (diff) | |
parent | 09502fcb368c6b18a936b0b0aeb0e685829ad570 (diff) | |
download | nextcloud-server-df282d9ef8e040833574fac5c5fd3cbbae1b3209.tar.gz nextcloud-server-df282d9ef8e040833574fac5c5fd3cbbae1b3209.zip |
Merge pull request #7207 from owncloud/fileinfo-serializable
Remove the JsonSerializable interface from \OC\Files\FileInfo
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/files/fileinfo.php | 6 |
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 */ |