Code Duplication    Length = 3-4 lines in 2 locations

php/elFinderVolumeLocalFileSystem.class.php 1 location

@@ 1077-1080 (lines=4) @@
1074
		if ($dirs) {
1075
			foreach($dirs as $dir) {
1076
				$stat = $this->stat($dir);
1077
				if ($stat['read'] && !isset($stat['alias'])) {
1078
					@set_time_limit(30);
1079
					$result = array_merge($result, $this->doSearch($dir, $q, $mimes));
1080
				}
1081
			}
1082
		}
1083
	

php/elFinderVolumeDriver.class.php 1 location

@@ 3265-3267 (lines=3) @@
3262
				
3263
				$result[] = $stat;
3264
			}
3265
			if ($stat['mime'] == 'directory' && $stat['read'] && !isset($stat['alias'])) {
3266
				$result = array_merge($result, $this->doSearch($p, $q, $mimes));
3267
			}
3268
		}
3269
		
3270
		return $result;