r108256 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108255‎ | r108256 | r108257 >
Date:17:29, 6 January 2012
Author:demon
Status:ok
Tags:
Comment:
NULL -> null, ping r107199
Modified paths:
  • /branches/FileBackend/phase3/includes/filerepo/backend/SwiftFileBackend.php (modified) (history)

Diff [purge]

Index: branches/FileBackend/phase3/includes/filerepo/backend/SwiftFileBackend.php
@@ -42,7 +42,7 @@
4343 parent::__construct( $config );
4444 // Required settings
4545 $this->auth = new CF_Authentication(
46 - $config['swiftUser'], $config['swiftKey'], NULL, $config['swiftAuthUrl'] );
 46+ $config['swiftUser'], $config['swiftKey'], null, $config['swiftAuthUrl'] );
4747 // Optional settings
4848 $this->connTTL = isset( $config['connTTL'] )
4949 ? $config['connTTL']
@@ -410,11 +410,11 @@
411411 $container = $conn->get_container( $srcCont);
412412 $obj = $container->get_object( $srcRel );
413413 } catch ( NoSuchContainerException $e ) {
414 - $obj = NULL;
 414+ $obj = null;
415415 } catch ( NoSuchObjectException $e ) {
416 - $obj = NULL;
 416+ $obj = null;
417417 } catch ( Exception $e ) { // some other exception?
418 - $obj = NULL; // fail vs not exists?
 418+ $obj = null; // fail vs not exists?
419419 $this->logException( $e, __METHOD__, $params );
420420 }
421421

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107199In SwiftFileBackend:...aaron01:38, 24 December 2011

Status & tagging log