]> source.dussan.org Git - nextcloud-server.git/commit
Better handle return values from Filesystem::getMountBy*
authorRobin McCorkell <rmccorkell@karoshi.org.uk>
Mon, 21 Apr 2014 10:35:52 +0000 (11:35 +0100)
committerRobin McCorkell <rmccorkell@karoshi.org.uk>
Fri, 25 Apr 2014 08:50:34 +0000 (09:50 +0100)
commit77e3d067f03ba334fc1b06f8d2177006ef859822
treee22d6f73a419b8cfe5ca17493d7d15d425c44b68
parent3fc809dfd80a296d7da922a06f9e13d446b3d3f0
Better handle return values from Filesystem::getMountBy*

getMountByStorageId and getMountByNumericId return an empty array on error,
which should be detected to avoid possible errors. This commit also adds in
some new logging points and throws to aid debugging
apps/files_sharing/lib/cache.php
apps/files_sharing/lib/sharedstorage.php
lib/private/share/share.php