Index: trunk/extensions/Deployment/includes/filesystems/Ssh2Filesystem.php |
— | — | @@ -231,9 +231,9 @@ |
232 | 232 | */ |
233 | 233 | public function getChmod( $file ) { |
234 | 234 | wfSuppressWarnings(); |
235 | | - $fileperms = fileperms( 'ssh2.sftp://' . $this->sftpConnection . '/' . ltrim( $file, '/' ); |
| 235 | + $fileperms = fileperms( 'ssh2.sftp://' . $this->sftpConnection . '/' . ltrim( $file, '/' ) ); |
236 | 236 | wfRestoreWarnings(); |
237 | | - return substr( decoct( $fileperms ) ), 3 ); |
| 237 | + return substr( decoct( $fileperms ), 3 ); |
238 | 238 | } |
239 | 239 | |
240 | 240 | /** |