Minor comment tweak
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 21 May 2008 22:28:21 +0000 (22:28 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 21 May 2008 22:28:21 +0000 (22:28 +0000)
includes/ImagePage.php

index 2487d8d..a9070da 100644 (file)
@@ -43,9 +43,8 @@ class ImagePage extends Article {
                        $this->displayImg = wfFindFile( $this->mTitle );
                        # If none found, use a valid local placeholder
                        if( !$this->displayImg ) {
-                               $this->displayImg = wfLocalFile( $this->mTitle );
+                               $this->displayImg = wfLocalFile( $this->mTitle ); // fallback to current
                        }
-                       # Fallback to current
                        $this->img = $this->displayImg;
                # If found, set $this->img. This will be the same if no time given
                } else {