Code Duplication    Length = 3-4 lines in 2 locations

php/elFinderVolumeLocalFileSystem.class.php 1 location

@@ 1067-1070 (lines=4) @@
1064
		if ($dirs) {
1065
			foreach($dirs as $dir) {
1066
				$stat = $this->stat($dir);
1067
				if ($stat['read'] && !isset($stat['alias'])) {
1068
					@set_time_limit(30);
1069
					$result = array_merge($result, $this->doSearch($dir, $q, $mimes));
1070
				}
1071
			}
1072
		}
1073
	

php/elFinderVolumeDriver.class.php 1 location

@@ 3215-3217 (lines=3) @@
3212
				
3213
				$result[] = $stat;
3214
			}
3215
			if ($stat['mime'] == 'directory' && $stat['read'] && !isset($stat['alias'])) {
3216
				$result = array_merge($result, $this->doSearch($p, $q, $mimes));
3217
			}
3218
		}
3219
		
3220
		return $result;