Also add a FIXME for a weird case.
Change-Id: I1f7f8a522fc49be85051a467455796c3f564584b
} else {
// Unsigned little-endian integer
$length = intval( $type );
} else {
// Unsigned little-endian integer
$length = intval( $type );
- $bytes = substr( $string, $pos, $length );
// Calculate the value. Use an algorithm which automatically
// upgrades the value to floating point if necessary.
// Calculate the value. Use an algorithm which automatically
// upgrades the value to floating point if necessary.
$this->mFileKey = $this->mLocalFile->getFileKey();
// Output a copy of this first to chunk 0 location:
$this->mFileKey = $this->mLocalFile->getFileKey();
// Output a copy of this first to chunk 0 location:
- $status = $this->outputChunk( $this->mLocalFile->getPath() );
+ $this->outputChunk( $this->mLocalFile->getPath() );
// Update db table to reflect initial "chunk" state
$this->updateChunkStatus();
// Update db table to reflect initial "chunk" state
$this->updateChunkStatus();
$this->xmlwriterobj = new XmlDumpWriter();
$input = fopen( $this->input, "rt" );
$this->xmlwriterobj = new XmlDumpWriter();
$input = fopen( $this->input, "rt" );
- $result = $this->readDump( $input );
+ $this->readDump( $input );
if ( $this->spawnProc ) {
$this->closeSpawn();
if ( $this->spawnProc ) {
$this->closeSpawn();
$this->error( "Invalid username", true );
}
$this->error( "Invalid username", true );
}
+ // @todo FIXME: This is reset 7 lines down.
$restrictions = array( 'edit' => $protection, 'move' => $protection );
$t = Title::newFromText( $this->getArg() );
$restrictions = array( 'edit' => $protection, 'move' => $protection );
$t = Title::newFromText( $this->getArg() );