Code Duplication    Length = 3-4 lines in 2 locations

php/elFinderVolumeDriver.class.php 1 location

@@ 3256-3258 (lines=3) @@
3253
				
3254
				$result[] = $stat;
3255
			}
3256
			if ($stat['mime'] == 'directory' && $stat['read'] && !isset($stat['alias'])) {
3257
				$result = array_merge($result, $this->doSearch($p, $q, $mimes));
3258
			}
3259
		}
3260
		
3261
		return $result;

php/elFinderVolumeLocalFileSystem.class.php 1 location

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