Merge pull request #7207 from owncloud/fileinfo-serializable
Remove the JsonSerializable interface from \OC\Files\FileInfo
This commit is contained in:
commit
df282d9ef8
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue