]> source.dussan.org Git - nextcloud-server.git/commit
[Share 2.0] Share Object creation is a fragile thing
authorRoeland Jago Douma <rullzer@owncloud.com>
Fri, 15 Jan 2016 20:15:25 +0000 (21:15 +0100)
committerRoeland Jago Douma <rullzer@owncloud.com>
Mon, 18 Jan 2016 18:57:30 +0000 (19:57 +0100)
commit0939520e1a19b5d22e17bcc63a4d421dd63cb807
tree3e667970848a2dbf7d306f625f5f8048de059cf3
parentb877b0508bb08868909b2b270a7753a9ba868c7a
[Share 2.0] Share Object creation is a fragile thing

* We can't assume that the file still exists
* We can't assume that the user/group still exists

Basically we do not always nicely cleanup shares.
lib/private/share20/defaultshareprovider.php
lib/private/share20/exception/invalidshare.php [new file with mode: 0644]