diff options
author | James D. Forrester <jforrester@wikimedia.org> | 2020-01-09 15:48:34 -0800 |
---|---|---|
committer | James D. Forrester <jforrester@wikimedia.org> | 2020-01-10 14:17:13 -0800 |
commit | 0958a0bce4bd8390c97ce2042f1eb04df8308293 (patch) | |
tree | a1f9eb5d647b1150c3188f698129e3eb7a0c1393 /maintenance/attachLatest.php | |
parent | 41f8acfd52b36759f7a10196f36af5e2d9f81427 (diff) | |
download | mediawikicore-0958a0bce4bd8390c97ce2042f1eb04df8308293.tar.gz mediawikicore-0958a0bce4bd8390c97ce2042f1eb04df8308293.zip |
Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull
Change-Id: I90cfe8366c0245c9c67e598d17800684897a4e27
Diffstat (limited to 'maintenance/attachLatest.php')
-rw-r--r-- | maintenance/attachLatest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/attachLatest.php b/maintenance/attachLatest.php index e1d7fca7e7fa..53f5d64d094c 100644 --- a/maintenance/attachLatest.php +++ b/maintenance/attachLatest.php @@ -73,7 +73,7 @@ class AttachLatest extends Maintenance { } $revision = Revision::loadFromTimestamp( $dbw, $title, $latestTime ); - if ( is_null( $revision ) ) { + if ( $revision === null ) { $this->output( "$dbDomain $pageId [[$name]] latest time $latestTime, can't find revision id\n" ); |