Code Duplication    Length = 2-4 lines in 2 locations

src/wp-admin/includes/class-ftp.php 2 locations

@@ 345-346 (lines=2) @@
342
			else $this->OS_remote=FTP_OS_Mac;
343
			$this->SendMSG("Remote OS: ".$this->OS_FullName[$this->OS_remote]);
344
		}
345
		if(!$this->features()) $this->SendMSG("Can't get features list. All supported - disabled");
346
		else $this->SendMSG("Supported features: ".implode(", ", array_keys($this->_features)));
347
		return TRUE;
348
	}
349
@@ 373-376 (lines=4) @@
370
			if(!$this->_checkCode()) return FALSE;
371
		}
372
		$this->SendMSG("Authentication succeeded");
373
		if(empty($this->_features)) {
374
			if(!$this->features()) $this->SendMSG("Can't get features list. All supported - disabled");
375
			else $this->SendMSG("Supported features: ".implode(", ", array_keys($this->_features)));
376
		}
377
		return TRUE;
378
	}
379