} 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}'." );
}
-
}
/**
* @param string $timestamp
* @param string $comment
* @param User $user
- * @return FileRepoStatus
+ * @return Status
*/
function uploadOld( $srcPath, $archiveName, $timestamp, $comment, $user ) {
$this->lock();