wfProfileIn( __METHOD__ );\r
$dbr = $this->repo->getSlaveDB();\r
$conds = array( 'oi_name' => $this->getName() );\r
- if ( is_null( $this->requestedTimestamp ) ) {\r
+ if ( is_null( $this->requestedTime ) ) {\r
$conds['oi_archive_name'] = $this->archive_name;\r
} else {\r
- $conds[] = 'oi_timestamp <= ' . $dbr->addQuotes( $this->requestedTimestamp );\r
+ $conds[] = 'oi_timestamp <= ' . $dbr->addQuotes( $this->requestedTime );\r
}\r
$row = $dbr->selectRow( 'oldimage', $this->getCacheFields( 'oi_' ),\r
$conds, __METHOD__, array( 'ORDER BY' => 'oi_timestamp DESC' ) );\r