Skip to content

Commit

Permalink
Removed passphrase if.
Browse files Browse the repository at this point in the history
  • Loading branch information
blItzkrIg1o1 committed Feb 2, 2015
1 parent ec2d732 commit 2135a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/storage/file_transfer_managers/sftpMgr.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ protected function doMkDir($remotePath)
*/
protected function doChmod($remoteFile, $mode)
{
if($this->useCmdChmod && !$this->passphrase)
if($this->useCmdChmod)
return $this->execSftpCommand("chmod $mode \"$remoteFile\"");

$chmod_cmd = "chmod $mode $remoteFile";
Expand Down

0 comments on commit 2135a9f

Please sign in to comment.