} else {
$this->fileExists = false;
}
-
}
/**
* Load lazy file metadata from the DB
*/
protected function loadExtraFromDB() {
-
$this->extraDataLoaded = true;
$dbr = $this->repo->getSlaveDB();
$conds = [ 'oi_name' => $this->getName() ];
} else {
throw new MWException( "Could not find data for image '{$this->archive_name}'." );
}
-
}
/**