r69349 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69348‎ | r69349 | r69350 >
Date:21:41, 14 July 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Small fix
Modified paths:
  • /trunk/extensions/Deployment/includes/filesystems/Ssh2Filesystem.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Deployment/includes/filesystems/Ssh2Filesystem.php
@@ -231,9 +231,9 @@
232232 */
233233 public function getChmod( $file ) {
234234 wfSuppressWarnings();
235 - $fileperms = fileperms( 'ssh2.sftp://' . $this->sftpConnection . '/' . ltrim( $file, '/' );
 235+ $fileperms = fileperms( 'ssh2.sftp://' . $this->sftpConnection . '/' . ltrim( $file, '/' ) );
236236 wfRestoreWarnings();
237 - return substr( decoct( $fileperms ) ), 3 );
 237+ return substr( decoct( $fileperms ), 3 );
238238 }
239239
240240 /**

Status & tagging log