Code Duplication    Length = 7-7 lines in 2 locations

php/elFinderVolumeFTP.class.php 1 location

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

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