Coding standards, space after if
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -171,7 +171,7 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
|
||||
|
||||
function cwd() {
|
||||
$cwd = $this->run_command('pwd');
|
||||
if( $cwd )
|
||||
if ( $cwd )
|
||||
$cwd = trailingslashit($cwd);
|
||||
return $cwd;
|
||||
}
|
||||
@@ -239,10 +239,10 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
|
||||
}
|
||||
|
||||
function copy($source, $destination, $overwrite = false ) {
|
||||
if( ! $overwrite && $this->exists($destination) )
|
||||
if ( ! $overwrite && $this->exists($destination) )
|
||||
return false;
|
||||
$content = $this->get_contents($source);
|
||||
if( false === $content)
|
||||
if ( false === $content)
|
||||
return false;
|
||||
return $this->put_contents($destination, $content);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user