Change-Id: I3e75a97f7fc76e2dc052463511e32f330cfca9ce
* Obtain the recent change with a given rc_id value
*
* @param int $rcid The rc_id value to retrieve
* Obtain the recent change with a given rc_id value
*
* @param int $rcid The rc_id value to retrieve
+ * @return RecentChange|null
*/
public static function newFromId( $rcid ) {
return self::newFromConds( array( 'rc_id' => $rcid ), __METHOD__ );
*/
public static function newFromId( $rcid ) {
return self::newFromConds( array( 'rc_id' => $rcid ), __METHOD__ );
* @param array $conds Array of conditions
* @param mixed $fname Override the method name in profiling/logs
* @param array $options Query options
* @param array $conds Array of conditions
* @param mixed $fname Override the method name in profiling/logs
* @param array $options Query options
+ * @return RecentChange|null
*/
public static function newFromConds( $conds, $fname = __METHOD__, $options = array() ) {
$dbr = wfGetDB( DB_SLAVE );
*/
public static function newFromConds( $conds, $fname = __METHOD__, $options = array() ) {
$dbr = wfGetDB( DB_SLAVE );