diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2016-10-18 22:26:01 +0300 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2016-10-19 18:42:29 +0300 |
commit | 20d2ce582a89e5a9ea50d7c6b02a0e712df93d22 (patch) | |
tree | ddd8239c130a8599deb61ade1591b1d88faf73d3 /lib | |
parent | 81e60581e4d658063af6bd5174a521819359fe2f (diff) |
Don't ignore non-updatable files
Don't discriminate with these files; let them have the right to
join the session or generate access token like other sessions
Diffstat (limited to 'lib')
-rw-r--r-- | lib/db/wopi.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db/wopi.php b/lib/db/wopi.php index fcff1c54..c826a1a5 100644 --- a/lib/db/wopi.php +++ b/lib/db/wopi.php @@ -49,7 +49,7 @@ class Wopi extends \OCA\Richdocuments\Db{ // Get the virtual path (if the file is shared). $path = $view->getPath($fileId); - if (!$view->is_file($path) || !$view->isUpdatable($path)) { + if (!$view->is_file($path)) { throw new \Exception('Invalid fileId.'); } |