Merge pull request #16447 from owncloud/fix-minor-code-problems
Fix unexisting class and broken doc
This commit is contained in:
commit
f59576c3ca
|
@ -70,7 +70,7 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage {
|
|||
* Get the source file path, permissions, and owner for a shared file
|
||||
*
|
||||
* @param string $target Shared target file path
|
||||
* @return Returns array with the keys path, permissions, and owner or false if not found
|
||||
* @return array Returns array with the keys path, permissions, and owner or false if not found
|
||||
*/
|
||||
public function getFile($target) {
|
||||
if (!isset($this->files[$target])) {
|
||||
|
|
|
@ -220,7 +220,7 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
|
|||
\OC\Files\Stream\Dir::register('objectstore' . $path . '/', $files);
|
||||
|
||||
return opendir('fakedir://objectstore' . $path . '/');
|
||||
} catch (Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
\OCP\Util::writeLog('objectstore', $e->getMessage(), \OCP\Util::ERROR);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue