Merge "mediawiki.searchSuggest: Show full article title as a tooltip for each suggestion"
[lhc/web/wiklou.git] / includes / filerepo / file / OldLocalFile.php
index d6c6a3c..ca92496 100644 (file)
@@ -174,10 +174,11 @@ class OldLocalFile extends LocalFile {
                return $this->exists() && !$this->isDeleted( File::DELETED_FILE );
        }
 
-       function loadFromDB() {
+       function loadFromDB( $flags = 0 ) {
                wfProfileIn( __METHOD__ );
 
                $this->dataLoaded = true;
+
                $dbr = $this->repo->getSlaveDB();
                $conds = array( 'oi_name' => $this->getName() );
                if ( is_null( $this->requestedTime ) ) {