diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-07-29 18:27:19 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-08-28 22:56:29 +0200 |
commit | da504295fe7d6f360cbf6156f4c2edf5b3b521a8 (patch) | |
tree | 2b5cf3e97126825bfab2f3efc1b026490f73d415 /lib/files | |
parent | fa7189c40d014e865cb22e95ae51fca73c6fa2f9 (diff) | |
download | nextcloud-server-da504295fe7d6f360cbf6156f4c2edf5b3b521a8.tar.gz nextcloud-server-da504295fe7d6f360cbf6156f4c2edf5b3b521a8.zip |
better variable naming
Diffstat (limited to 'lib/files')
-rw-r--r-- | lib/files/cache/scanner.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/files/cache/scanner.php b/lib/files/cache/scanner.php index 032e2c892ea..fdaad764a12 100644 --- a/lib/files/cache/scanner.php +++ b/lib/files/cache/scanner.php @@ -74,10 +74,10 @@ class Scanner extends BasicEmitter { * * @param string $file * @param int $reuseExisting - * @param bool $parentExists + * @param bool $parentExistsInCache * @return array with metadata of the scanned file */ - public function scanFile($file, $reuseExisting = 0, $parentExists = false) { + public function scanFile($file, $reuseExisting = 0, $parentExistsInCache = false) { if (!self::isPartialFile($file) and !Filesystem::isFileBlacklisted($file) ) { @@ -85,7 +85,7 @@ class Scanner extends BasicEmitter { \OC_Hook::emit('\OC\Files\Cache\Scanner', 'scan_file', array('path' => $file, 'storage' => $this->storageId)); $data = $this->getData($file); if ($data) { - if ($file and !$parentExists) { + if ($file and !$parentExistsInCache) { $parent = dirname($file); if ($parent === '.' or $parent === '/') { $parent = ''; |