Code Duplication    Length = 3-6 lines in 2 locations

php/elFinderVolumeFTP.class.php 1 location

@@ 432-437 (lines=6) @@
429
			if (isset($stat['target'])) {
430
				// stat later
431
				$targets[$stat['name']] = $stat['target'];
432
			} else {
433
				$stat = $this->updateCache($p, $stat);
434
				if (empty($stat['hidden'])) {
435
					$this->dirsCache[$path][] = $p;
436
				}
437
			}
438
		}
439
		// stat link targets
440
		foreach($targets as $name => $target) {

php/elFinderVolumeMySQL.class.php 1 location

@@ 254-256 (lines=3) @@
251
				
252
				
253
				
254
				if (($stat = $this->updateCache($id, $row)) && empty($stat['hidden'])) {
255
					$this->dirsCache[$path][] = $id;
256
				}
257
			}
258
		}
259