https://www.mediawiki.org/wiki/Special:Code/MediaWiki/108256
Revision: 108256
Author: demon
Date: 2012-01-06 17:29:56 +0000 (Fri, 06 Jan 2012)
Log Message:
-----------
NULL -> null, ping r107199
Modified Paths:
--------------
branches/FileBackend/phase3/includes/filerepo/backend/SwiftFileBackend.php
Modified:
branches/FileBackend/phase3/includes/filerepo/backend/SwiftFileBackend.php
===================================================================
--- branches/FileBackend/phase3/includes/filerepo/backend/SwiftFileBackend.php
2012-01-06 17:19:14 UTC (rev 108255)
+++ branches/FileBackend/phase3/includes/filerepo/backend/SwiftFileBackend.php
2012-01-06 17:29:56 UTC (rev 108256)
@@ -42,7 +42,7 @@
parent::__construct( $config );
// Required settings
$this->auth = new CF_Authentication(
- $config['swiftUser'], $config['swiftKey'], NULL,
$config['swiftAuthUrl'] );
+ $config['swiftUser'], $config['swiftKey'], null,
$config['swiftAuthUrl'] );
// Optional settings
$this->connTTL = isset( $config['connTTL'] )
? $config['connTTL']
@@ -410,11 +410,11 @@
$container = $conn->get_container( $srcCont);
$obj = $container->get_object( $srcRel );
} catch ( NoSuchContainerException $e ) {
- $obj = NULL;
+ $obj = null;
} catch ( NoSuchObjectException $e ) {
- $obj = NULL;
+ $obj = null;
} catch ( Exception $e ) { // some other exception?
- $obj = NULL; // fail vs not exists?
+ $obj = null; // fail vs not exists?
$this->logException( $e, __METHOD__, $params );
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs