Code Duplication    Length = 7-7 lines in 2 locations

php/elFinderVolumeS3.class.php 1 location

@@ 324-330 (lines=7) @@
321
	 * @author Dmitry (dio) Levashov
322
	 * @author Naoki Sawada
323
	 **/
324
	protected function _dimensions($path, $mime) {
325
		$ret = false;
326
		if ($imgsize = $this->getImageSize($path, $mime)) {
327
			$ret = $imgsize['dimensions'];
328
		}
329
		return $ret;
330
	}
331
	
332
	/******************** file/dir content *********************/
333

php/elFinderVolumeFTP.class.php 1 location

@@ 815-821 (lines=7) @@
812
	 * @return string|false
813
	 * @author Dmitry (dio) Levashov
814
	 **/
815
	protected function _dimensions($path, $mime) {
816
		$ret = false;
817
		if ($imgsize = $this->getImageSize($path, $mime)) {
818
			$ret = $imgsize['dimensions'];
819
		}
820
		return $ret;
821
	}
822
	
823
	/******************** file/dir content *********************/
824