Merge pull request #7207 from owncloud/fileinfo-serializable

Remove the JsonSerializable interface from \OC\Files\FileInfo
This commit is contained in:
Morris Jobke 2014-02-14 22:11:54 +01:00
commit df282d9ef8

View file

@ -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
*/