diff options
author | Sjors van der Pluijm <sjors@desjors.nl> | 2014-04-28 13:05:20 +0200 |
---|---|---|
committer | Sjors van der Pluijm <sjors@desjors.nl> | 2014-04-28 13:05:20 +0200 |
commit | d7ec1fe44721d28cfc93191dc604132df41dd5db (patch) | |
tree | fe9489b19d7aac633d67ce720dc5d6719f717246 /lib/private/files/storage/local.php | |
parent | d8be9d96edec4ef8934b46e32298dfbed2b2a0a3 (diff) | |
download | nextcloud-server-d7ec1fe44721d28cfc93191dc604132df41dd5db.tar.gz nextcloud-server-d7ec1fe44721d28cfc93191dc604132df41dd5db.zip |
rewind iterator before iteration starts
Diffstat (limited to 'lib/private/files/storage/local.php')
-rw-r--r-- | lib/private/files/storage/local.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/storage/local.php b/lib/private/files/storage/local.php index 16689ee905c..ed2ad870858 100644 --- a/lib/private/files/storage/local.php +++ b/lib/private/files/storage/local.php @@ -44,6 +44,7 @@ if (\OC_Util::runningOnWindows()) { new \RecursiveDirectoryIterator($this->datadir . $path), \RecursiveIteratorIterator::CHILD_FIRST ); + $it->rewind(); while ($it->valid()) { /** * @var \SplFileInfo $file |