nextcloud/lib/private/files
Vincent Petry 1af7dab535 Fixed quota wrapper to not wrap failed fopen streams
When calling fopen() on some storage types, these return false instead
of throwing an exception.

This fix makes sure that in case the stream wasn't opened (for example
when a file doesn't exist any more) the stream isn't wrapped.

Also added 'rb' as another case that doesn't need to be wrapped.

Fixes #6832
2014-01-19 18:51:36 +01:00
..
cache Merge pull request #6768 from owncloud/scanner-use-storage-mtime 2014-01-15 01:31:33 -08:00
mount move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
node move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
storage Fixed quota wrapper to not wrap failed fopen streams 2014-01-19 18:51:36 +01:00
stream Added comment for clarification about fseek() call in quota.php 2013-10-25 16:15:01 +02:00
type Return early if fileinfo is there. 2013-10-29 13:48:30 +01:00
utils move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
filesystem.php External storage space is now not counted in total space 2013-11-18 18:09:01 +01:00
mapper.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00
view.php Prevent deleting storage root 2014-01-08 13:17:36 +01:00