Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
3d19bb2e
Commit
3d19bb2e
authored
Oct 23, 2014
by
Bjoern Schiessle
Browse files
also try to get file info from part file
parent
fa3b6192
Changes
1
Show whitespace changes
Inline
Side-by-side
apps/files_encryption/lib/proxy.php
View file @
3d19bb2e
...
...
@@ -345,8 +345,8 @@ class Proxy extends \OC_FileProxy {
return
$size
;
}
// get file info from database/cache
if not .part file
if
(
empty
(
$fileInfo
)
&&
!
Helper
::
isPartialFilePath
(
$path
)
)
{
// get file info from database/cache
if
(
empty
(
$fileInfo
))
{
$proxyState
=
\
OC_FileProxy
::
$enabled
;
\
OC_FileProxy
::
$enabled
=
false
;
$fileInfo
=
$view
->
getFileInfo
(
$path
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment