[Pkg-owncloud-commits] [owncloud] 68/199: Rename variable to something more appropriate.
David Prévot
taffit at moszumanska.debian.org
Sun Jun 1 18:53:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit fdf26c5a3f4718fcadc214eb69a91f780ce4045c
Author: ringmaster <epithet at gmail.com>
Date: Fri May 16 12:12:27 2014 -0400
Rename variable to something more appropriate.
---
lib/private/files/cache/scanner.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/private/files/cache/scanner.php b/lib/private/files/cache/scanner.php
index 19321da..2790d85 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);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list