diff options
author | ringmaster <epithet@gmail.com> | 2014-05-16 12:12:27 -0400 |
---|---|---|
committer | ringmaster <epithet@gmail.com> | 2014-05-27 15:12:56 -0400 |
commit | fdf26c5a3f4718fcadc214eb69a91f780ce4045c (patch) | |
tree | 631d17ec1c618a63074c1e71653833ab66fada14 /lib/private/files/cache/scanner.php | |
parent | 645e7035a45e400d02c56e588f6946d20b522731 (diff) | |
download | nextcloud-server-fdf26c5a3f4718fcadc214eb69a91f780ce4045c.tar.gz nextcloud-server-fdf26c5a3f4718fcadc214eb69a91f780ce4045c.zip |
Rename variable to something more appropriate.
Diffstat (limited to 'lib/private/files/cache/scanner.php')
-rw-r--r-- | lib/private/files/cache/scanner.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/files/cache/scanner.php b/lib/private/files/cache/scanner.php index 19321da8ec1..2790d8581f7 100644 --- a/lib/private/files/cache/scanner.php +++ b/lib/private/files/cache/scanner.php @@ -248,9 +248,9 @@ class Scanner extends BasicEmitter { $removedChildren = \array_diff($existingChildren, $newChildren); foreach ($removedChildren as $childName) { $child = ($path) ? $path . '/' . $childName : $childName; - $addToCache = true; - \OC_Hook::emit('Scanner', 'removeFromCache', array('file' => $child, 'removeFromCache' => &$addToCache)); - if($addToCache) { + $removeFromCache = true; + \OC_Hook::emit('Scanner', 'removeFromCache', array('file' => $child, 'removeFromCache' => &$removeFromCache)); + if($removeFromCache) { $this->cache->remove($child); } } |